There are 7 messages in this thread.
You are currently looking at messages 0 to 7.
Hi all, Can anyone tell me whether there is a CLI / Console / Command Prompt based gsm encoder (pcm wav to gsm) for the windows platform. Currently, I am using a program called AVS AudioConverter, but it has a graphical interface and I need to automate a process using scripts and a console based gsm encoder. I would appreciate any help, Thank You, RG______________________________
rg wrote:
>
> Hi all,
>
> Can anyone tell me whether there is a CLI / Console / Command Prompt based
> gsm encoder (pcm wav to gsm) for the windows platform. Currently, I am using
> a program called AVS AudioConverter, but it has a graphical interface and I
> need to automate a process using scripts and a console based gsm encoder.
As part of libsndfile:
http://www.mega-nerd.com/libsndfile/
there is a command line program called sndfile-convert.
The help page looks like:
Usage : sndfile-convert [encoding] <input file> <output file>
where [encoding] may be one of the following:
-pcms8 : force the output to signed 8 bit pcm
-pcmu8 : force the output to unsigned 8 bit pcm
-pcm16 : force the output to 16 bit pcm
-pcm24 : force the output to 24 bit pcm
-pcm32 : force the output to 32 bit pcm
-float32 : force the output to 32 bit floating point
-ulaw : force the output ULAW
-alaw : force the output ALAW
-ima-adpcm : force the output to IMA ADPCM (WAV only)
-ms-adpcm : force the output to MS ADPCM (WAV only)
-gsm610 : force the GSM6.10 (WAV only)
-dwvw12 : force the output to 12 bit DWVW (AIFF only)
-dwvw16 : force the output to 16 bit DWVW (AIFF only)
-dwvw24 : force the output to 24 bit DWVW (AIFF only)
The format of the output file is determined by the file extension of the
output file name. The following extensions are currently understood:
aif : AIFF (Apple/SGI)
wav : WAV (Microsoft)
au : AU (Sun/NeXT)
snd : AU (Sun/NeXT)
svx : IFF (Amiga IFF/SVX8/SV16)
paf : PAF (Ensoniq PARIS)
fap : PAF (Ensoniq PARIS)
nist : WAV (NIST Sphere)
ircam : SF (Berkeley/IRCAM/CARL)
sf : SF (Berkeley/IRCAM/CARL)
voc : VOC (Creative Labs)
w64 : W64 (SoundFoundry WAVE 64)
raw : RAW (header-less)
mat4 : MAT4 (GNU Octave 2.0 / Matlab 4.2)
mat5 : MAT5 (GNU Octave 2.1 / Matlab 5.0)
mat : MAT4 (GNU Octave 2.0 / Matlab 4.2)
pvf : PVF (Portable Voice Format)
sds : SDS (Midi Sample Dump Standard)
xi : XI (FastTracker 2)
IS the GSM encoded WAV file above what you are after?
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo n...@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"Hey, I've re-dorkulated." -- Prof. Frink (The Simpsons)
______________________________rg wrote: > Hi all, > > Can anyone tell me whether there is a CLI / Console / Command Prompt based > gsm encoder (pcm wav to gsm) for the windows platform. Currently, I am using > a program called AVS AudioConverter, but it has a graphical interface and I > need to automate a process using scripts and a console based gsm encoder. > > I would appreciate any help, > > Thank You, > > RG > > Visit http://kbs.cs.tu-berlin.de/~jutta/toast.html -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41______________________________
Hi, Thanks for your reply. I already have been using libsndfile, but just to read normal pcm/wav files. I never realised that it was also able to encode/decode gsm files. This is exactly what I need. Thanks, RG "Erik de Castro Lopo" <n...@mega-nerd.com> wrote in message news:4...@mega-nerd.com... > rg wrote: > > > > Hi all, > > > > Can anyone tell me whether there is a CLI / Console / Command Prompt based > > gsm encoder (pcm wav to gsm) for the windows platform. Currently, I am using > > a program called AVS AudioConverter, but it has a graphical interface and I > > need to automate a process using scripts and a console based gsm encoder. > > As part of libsndfile: > > http://www.mega-nerd.com/libsndfile/ > > there is a command line program called sndfile-convert. > > The help page looks like: > > Usage : sndfile-convert [encoding] <input file> <output file> > > where [encoding] may be one of the following: > > -pcms8 : force the output to signed 8 bit pcm > -pcmu8 : force the output to unsigned 8 bit pcm > -pcm16 : force the output to 16 bit pcm > -pcm24 : force the output to 24 bit pcm > -pcm32 : force the output to 32 bit pcm > -float32 : force the output to 32 bit floating point > -ulaw : force the output ULAW > -alaw : force the output ALAW > -ima-adpcm : force the output to IMA ADPCM (WAV only) > -ms-adpcm : force the output to MS ADPCM (WAV only) > -gsm610 : force the GSM6.10 (WAV only) > -dwvw12 : force the output to 12 bit DWVW (AIFF only) > -dwvw16 : force the output to 16 bit DWVW (AIFF only) > -dwvw24 : force the output to 24 bit DWVW (AIFF only) > > The format of the output file is determined by the file extension of the > output file name. The following extensions are currently understood: > > aif : AIFF (Apple/SGI) > wav : WAV (Microsoft) > au : AU (Sun/NeXT) > snd : AU (Sun/NeXT) > svx : IFF (Amiga IFF/SVX8/SV16) > paf : PAF (Ensoniq PARIS) > fap : PAF (Ensoniq PARIS) > nist : WAV (NIST Sphere) > ircam : SF (Berkeley/IRCAM/CARL) > sf : SF (Berkeley/IRCAM/CARL) > voc : VOC (Creative Labs) > w64 : W64 (SoundFoundry WAVE 64) > raw : RAW (header-less) > mat4 : MAT4 (GNU Octave 2.0 / Matlab 4.2) > mat5 : MAT5 (GNU Octave 2.1 / Matlab 5.0) > mat : MAT4 (GNU Octave 2.0 / Matlab 4.2) > pvf : PVF (Portable Voice Format) > sds : SDS (Midi Sample Dump Standard) > xi : XI (FastTracker 2) > > IS the GSM encoded WAV file above what you are after? > > Erik > > -- > +-----------------------------------------------------------+ > Erik de Castro Lopo n...@mega-nerd.com (Yes it's valid) > +-----------------------------------------------------------+ > "Hey, I've re-dorkulated." -- Prof. Frink (The Simpsons)______________________________
Hi Erik, Can you tell me what is the procedure to actually compile the sndfile-convert program. I am using libsndfile on Windows XP and while the default makefile does compile the libraries and a few programs, it does not compile the sndfile-convert. Can you tell me how to compile it, especially since the gsm libraries need to be included inside it. Thanks, RG "Erik de Castro Lopo" <n...@mega-nerd.com> wrote in message news:4...@mega-nerd.com... > rg wrote: > > > > Hi all, > > > > Can anyone tell me whether there is a CLI / Console / Command Prompt based > > gsm encoder (pcm wav to gsm) for the windows platform. Currently, I am using > > a program called AVS AudioConverter, but it has a graphical interface and I > > need to automate a process using scripts and a console based gsm encoder. > > As part of libsndfile: > > http://www.mega-nerd.com/libsndfile/ > > there is a command line program called sndfile-convert. > > The help page looks like: > > Usage : sndfile-convert [encoding] <input file> <output file> > > where [encoding] may be one of the following: > > -pcms8 : force the output to signed 8 bit pcm > -pcmu8 : force the output to unsigned 8 bit pcm > -pcm16 : force the output to 16 bit pcm > -pcm24 : force the output to 24 bit pcm > -pcm32 : force the output to 32 bit pcm > -float32 : force the output to 32 bit floating point > -ulaw : force the output ULAW > -alaw : force the output ALAW > -ima-adpcm : force the output to IMA ADPCM (WAV only) > -ms-adpcm : force the output to MS ADPCM (WAV only) > -gsm610 : force the GSM6.10 (WAV only) > -dwvw12 : force the output to 12 bit DWVW (AIFF only) > -dwvw16 : force the output to 16 bit DWVW (AIFF only) > -dwvw24 : force the output to 24 bit DWVW (AIFF only) > > The format of the output file is determined by the file extension of the > output file name. The following extensions are currently understood: > > aif : AIFF (Apple/SGI) > wav : WAV (Microsoft) > au : AU (Sun/NeXT) > snd : AU (Sun/NeXT) > svx : IFF (Amiga IFF/SVX8/SV16) > paf : PAF (Ensoniq PARIS) > fap : PAF (Ensoniq PARIS) > nist : WAV (NIST Sphere) > ircam : SF (Berkeley/IRCAM/CARL) > sf : SF (Berkeley/IRCAM/CARL) > voc : VOC (Creative Labs) > w64 : W64 (SoundFoundry WAVE 64) > raw : RAW (header-less) > mat4 : MAT4 (GNU Octave 2.0 / Matlab 4.2) > mat5 : MAT5 (GNU Octave 2.1 / Matlab 5.0) > mat : MAT4 (GNU Octave 2.0 / Matlab 4.2) > pvf : PVF (Portable Voice Format) > sds : SDS (Midi Sample Dump Standard) > xi : XI (FastTracker 2) > > IS the GSM encoded WAV file above what you are after? > > Erik > > -- > +-----------------------------------------------------------+ > Erik de Castro Lopo n...@mega-nerd.com (Yes it's valid) > +-----------------------------------------------------------+ > "Hey, I've re-dorkulated." -- Prof. Frink (The Simpsons)______________________________
rg wrote:
>
> Hi Erik,
>
> Can you tell me what is the procedure to actually compile the
> sndfile-convert program. I am using libsndfile on Windows XP and while the
> default makefile does compile the libraries and a few programs, it does not
> compile the sndfile-convert. Can you tell me how to compile it, especially
> since the gsm libraries need to be included inside it.
Actually, grab the latest pre-release:
http://www.mega-nerd.com/tmp/libsndfile-1.0.11pre4.tar.gz
which has just recently been updated to compile sndfile-convert
and fix sndfile-play on win32.
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo n...@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"Some people don't want genitalia shoved down their throats."
-- Rex Mossop, Australian football commentator and morals crusader
______________________________Worked perfectly. Thanks RG "Erik de Castro Lopo" <n...@mega-nerd.com> wrote in message news:4...@mega-nerd.com... > rg wrote: > > > > Hi Erik, > > > > Can you tell me what is the procedure to actually compile the > > sndfile-convert program. I am using libsndfile on Windows XP and while the > > default makefile does compile the libraries and a few programs, it does not > > compile the sndfile-convert. Can you tell me how to compile it, especially > > since the gsm libraries need to be included inside it. > > Actually, grab the latest pre-release: > > http://www.mega-nerd.com/tmp/libsndfile-1.0.11pre4.tar.gz > > which has just recently been updated to compile sndfile-convert > and fix sndfile-play on win32. > > Erik > -- > +-----------------------------------------------------------+ > Erik de Castro Lopo n...@mega-nerd.com (Yes it's valid) > +-----------------------------------------------------------+ > "Some people don't want genitalia shoved down their throats." > -- Rex Mossop, Australian football commentator and morals crusader______________________________