[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Playing .amr files from Nokia



On 25/12/2007, Steve Reilly <sfreilly@roadrunner.com> wrote:
> Dotan Cohen wrote:
> > My Nokia 6288 saves audio files in .amr format. What can play these
> > files on Debian? Thanks in advance.
> >
> http://linux.derkeiler.com/Newsgroups/comp.os.linux.misc/2007-09/msg01329.html
>

For whatever reason, sox is not working for me. This is the output
that I'm getting:
$ sox -r 8000 -s -2 voice036.raw -t ogg test.ogg
sox: invalid option -- 2
sox: Version 12.18.2

Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]

Global options (gopts):

Global options can be specified anywhere on the command

-h              print version number and usage information
--help          same as -h
--help-efffect=name
                print usage of specified effect.  use 'all' to print all
-p              run in preview mode and run fast
-q              run in quite mode.  Inverse of -S option
-S              print status while processing audio data.
--version       print version number of SoX and exit
-V              verbose mode.  print a description during processing phase

Format options (fopts):

Format options only need to be supplied on input files that are
headerless otherwise they are obtained from the audio data's header.
Output files will default to the same format options as the input
file unless overriden on the command line.

-c channels     number of channels in audio data
-e              skip processing of this filename.  useful only
                on output filename to prevent writing data.
-r rate         sample rate of audio
-t filetype     file type of audio
-v volume       volume adjustment factor (floating point)
-x              invert auto-detected endianess of data
-s/-u/-U/-A/    sample encoding.  signed/unsigned/u-law/A-law
  -a/-i/-g/-f   ADPCM/IMA_ADPCM/GSM/floating point
-b/-w/-l/-d     sample size. byte(8-bits)/word(16-bits)/
                long(32-bits)/double long(64-bits)

Supported file formats: aiff al alsa au auto avr cdr cvs dat vms gsm
hcom la lu maud mp3 nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw
txw ub ul uw voc vorbis vox wav wve

Supported effects: avg band bandpass bandreject chorus compand copy
dcshift deemph earwax echo echos fade filter flanger highp highpass
lowp lowpass mask mcompand noiseprof noisered pan phaser pick pitch
polyphase rate repeat resample reverb reverse silence speed stat
stretch swap synth trim vibro vol

effopts: depends on effect

feisty@feisty-laptop:~/Incoming/firefox$

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Reply to: