24 channel wav file through jack

View: New views
4 Messages — Rating Filter:   Alert me  

24 channel wav file through jack

by Jeremy Hughes-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again,

I've run into a problem playing multi-channel wav files through jack. Playing
24 individual files works fine but requires a rather long command. Mixing them
together then playing the 24 channel file results in the below error.

    $ file mixed.wav
    mixed.wav: RIFF (little-endian) data, WAVE audio, 24 channels 44100 Hz

    $ ecasound -a:1 -i:mixed.wav -o:jack,system
    ...snip...
    ERROR: Connecting chainsetup failed: "Enabling chainsetup:
AUDIOIO-WAVE: Only
    ... WAVE_FORMAT_PCM and WAVE_FORMAT_IEEE_FLOAT are supported."

Thanks for your help.

Jeremy

------------------------------------------------------------------------------
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: 24 channel wav file through jack

by Julien Claassen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Jeremy!
   It doesn't really sound like it, but perhaps a -f option might help:
ecasound -f:16,24,44100 -i mix.wav -o jack,system
   HTH.
   Best,
          Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de

------------------------------------------------------------------------------
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: 24 channel wav file through jack

by Kai Vehmanen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

btw, thanks for the patch, I'll merge it soonish to the git tree.

On Fri, 26 Jun 2009, Jeremy Hughes wrote:

> I've run into a problem playing multi-channel wav files through jack. Playing
> 24 individual files works fine but requires a rather long command. Mixing them
> together then playing the 24 channel file results in the below error.
[...]
>    $ ecasound -a:1 -i:mixed.wav -o:jack,system
>    ...snip...
>    ERROR: Connecting chainsetup failed: "Enabling chainsetup:
> AUDIOIO-WAVE: Only
>    ... WAVE_FORMAT_PCM and WAVE_FORMAT_IEEE_FLOAT are supported."

How have you created the file? The trace message seems to indicate the
file does not have the common PCM file header (maybe it's in w64 format,
or something similar).

Anyways, the cure is easy and that's to use libsndfile for RIFF WAVE
parsing. I.e.:

sh> ecasound -a:1 -i:sndfile,mixed.wav -o:jack,system

If you have have libsndfile utils installed, you can get some additional
info about the file with:

sh> sndfile-info mixed.wav


------------------------------------------------------------------------------
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: 24 channel wav file through jack

by Jeremy Hughes-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jun 27, 2009 at 7:38 AM, Kai Vehmanen<kvehmanen@...> wrote:
> Hi,
>
> btw, thanks for the patch, I'll merge it soonish to the git tree.

Great.

> On Fri, 26 Jun 2009, Jeremy Hughes wrote:
>
>> I've run into a problem playing multi-channel wav files through jack.
>> Playing
>> 24 individual files works fine but requires a rather long command. Mixing
>> them
>> together then playing the 24 channel file results in the below error.
>
> [...]
>>
>>   $ ecasound -a:1 -i:mixed.wav -o:jack,system
>>   ...snip...
>>   ERROR: Connecting chainsetup failed: "Enabling chainsetup:
>> AUDIOIO-WAVE: Only
>>   ... WAVE_FORMAT_PCM and WAVE_FORMAT_IEEE_FLOAT are supported."
>
> How have you created the file? The trace message seems to indicate the file
> does not have the common PCM file header (maybe it's in w64 format, or
> something similar).
>
> Anyways, the cure is easy and that's to use libsndfile for RIFF WAVE
> parsing. I.e.:
>
> sh> ecasound -a:1 -i:sndfile,mixed.wav -o:jack,system
>
> If you have have libsndfile utils installed, you can get some additional
> info about the file with:
>
> sh> sndfile-info mixed.wav

Thanks. This worked provided I added "-f:,24" to the chain.

Jeremy

------------------------------------------------------------------------------
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list