[ecasound] GSM input and output

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [ecasound] GSM input and output
From: Armand Bendanan (armand.bendanan_AT_sofrelog.com)
Date: Thu Mar 21 2002 - 15:20:38 EET


1 - I would like to record and playback a list of audio file using GSM encoding.

I would like to do something like :
- for recording:
ecasound -a:1 -i:/dev/dsp1 -o:minute1.gsm -a:2 -i:/dev/dsp2 -o:minute2.gsm -a:3 -i:/dev/dsp3 -o:minute3.gsm
- for playing:
ecasound -a:1 -i:minute1.gsm -a:2 -i:minute2.gsm -a:3 -i:minute3.gsm -a:all -o:/dev/dsp

but ecasound seams to not understand gsm input and output.

For playing, I have used sox to decompress a gsm file like:
sox -t gsm -c1 -gb minute.gsm -t raw -r 44100 -c2 -sw - | ecasound -i:stdin -o /dev/dsp

But now, if I want to play multiple gsm files at the same time, there is only ONE stdin !!!

2 - Another thing is that I would like to start playing not a the begining of the audio file

Something like:
sox -t gsm -c1 -gb minute.gsm -t raw -r 44100 -c2 -sw - | tail -c +10000 | ecasound -i:stdin -o /dev/dsp

Is it possible to start all the files at the same position (say 15 seconds from the begining), something like:
ecasound -a:1 -i:minute1.gsm -a:2 -i:minute2.gsm -a:3 -i:minute3.gsm -a:all <startposition>15seconds -o:/dev/dsp

any help is welcome.

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Mar 21 2002 - 15:11:22 EET