Sign in

username:

password:



Not a member?

Search compdsp



Search tips

comp.dsp by Keywords

Adaptive Filter | ADPCM | ADSP | ADSP-2181 | Aliasing | AMR | Anti-Aliasing | ARMA | Autocorrelation | AutoCovariance | Beamforming | Bessel | Blackfin | Butterworth | C6713 | CCS | Chebyshev | CIC Filter | Circular Convolution | Code Composer Studio | Comb Filter | Compression | Convolution | Cross Correlation | DCT | Decimation | Deconvolution | Demodulation | DM642 | DSP Boards | DSP/BIOS | DTMF | Echo Cancellation | Equalization | Equalizer | ETSI | EZLITE (Ez-kit Lite) | FFT | FFTW | FIR Filter | Fixed Point | FSK | G.711 | G.723 | G.729 | Gaussian Noise | Goertzel | GPIO | Hilbert Transform | IFFT | IIR Filter | Interpolation | Invariance | JTAG | Kalman | Laplace Transform | Levinson | LPC | McBSP | MIPS | Modulation | MPEG | Multirate | Notch Filter | Nyquist | OFDM | Oversampling | Pink Noise | Pitch | PLL | Polyphase | QAM | QDMA | Quantization | Quantizer | Radar | Random Noise | Reed Solomon | Remez | Resampling | RTDX | Sampling | Sharc | TI C6711 | Undersampling | Viterbi | Wavelets | White Noise | Wiener Filter | Windowing | XDS510PP | Z Transform

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Comp.DSP | console based gsm encoder

There are 7 messages in this thread.

You are currently looking at messages 0 to 7.


console based gsm encoder - rg - 2004-08-23 11:41:00

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


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: console based gsm encoder - Erik de Castro Lopo - 2004-08-24 04:03:00



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)
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: console based gsm encoder - Michel Bardiaux - 2004-08-24 06:20:00

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

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: console based gsm encoder - rg - 2004-08-24 08:47:00

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)


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: console based gsm encoder - rg - 2004-08-25 19:32:00

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)


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: console based gsm encoder - Erik de Castro Lopo - 2004-08-26 03:53:00

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
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: console based gsm encoder - rg - 2004-08-26 09:34:00

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


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.