• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Programm - Wave 44100KHz auf 7200Hz konvertieren

Yehudi

Guru
Eigentlich wäre ein Konsolenprogramm am schönsten, wo ich einfach nur die Ausgabe eingeben muss.
Aber mir ist dafür eigentlich jedes Programm recht, da ich für meinen AB eine solch hohe Qualität brauche.
Kennt da jemand was?

auf gelöst gesetzt
 

oc2pus

Ultimate Guru
probiere mal die hier:
SoundConverter: http://soundconverter.berlios.de/
AudioKonverter: http://www.kde-apps.org/content/show.php?content=12608

gibst auch als RPM :)

oder hier für Kommandozeile:
http://www.oreillynet.com/onlamp/blog/2004/11/convert_audio_between_mp3_flac.html

sollte eigentlich schon reichen:
sox in.wav -r 7200 -a out.wav
 
OP
Y

Yehudi

Guru
Der Befehl funktioniert soweit, danke Dir.

Jetzt liefert mir der Webmin beim Uploaden des File folgende Nachricht:
Failed to add message : Failed to convert WAV file :

Sorry, this WAV file is in Microsoft ADPCM format.

aber eigentlich steht da vor:
This form allows you to upload an additional greeting message WAV file, which will be converted to the chosen format for use by your modem. The sample rate of the uploaded WAV should be the same as the sample rate of received messages, as should the selected format.

Jetzt bin ich nun mit meinem Latein echt am Ende. Das soll der Begrüßungstext für einen AB vom Voicemailserver sein.
 

oc2pus

Ultimate Guru
Sorry, this WAV file is in Microsoft ADPCM format.

dann schau mal in den Optionen bei sox ob es da was gibt um dieses Format zu vermeiden. Evtl. musst du deine Wav erst in ein MP3 und dann wieder zu einem wav umwandeln.

Das ist so eine Art Hexenwerk mit diesen "Millionen" von möglichen Codecs die es da gibt ...
 
OP
Y

Yehudi

Guru
Das kannste aber laut sagen, vor ein paar Jahren hatte ich das mal mit einem Schlagzeuger mit einem MP3, der dachte ich versch.... ihn, weil es bei mir nicht läuft, bis wir dann nach langem Suchen dann herrausfanden dass in seinem WaveLAB drei Formate zur Auswahl stehen.

Dass das nun bei Waves auch so ist, bei Logic habe ich ja schon drei Audioformate:
aif, wav und SDII. Dann noch Formate wie Flac, ogg, ape etc. Wenn das da überall so ist na dann Gute Nacht.:roll:

Ich denke ich habe das jetzt in der manpage gefunden:
Code:
 -s/-u/-U/-A/-a/-i/-g/-f
                 The  sample  data encoding is signed linear (2's complement),
                 unsigned linear, u-law  (logarithmic),  A-law  (logarithmic),
                 ADPCM, IMA_ADPCM, GSM, or Floating-point.
                 U-law  (actually shorthand for mu-law) and A-law are the U.S.
                 and international standards for logarithmic  telephone  sound
                 compression.   When uncompressed u-law has roughly the preci-
                 sion of 14-bit PCM audio and A-law has roughly the  precision
                 of 13-bit PCM audio.
                 A-law  and  u-law  data is sometimes encoded using a reversed
                 bit-ordering (ie. MSB becomes LSB).  Internally,  SoX  under-
                 stands  how to work with this encoding but there is currently
                 no command line option to specify it.  If you need this  sup-
                 port  then  you  can  use  the psuedo file types of ".la" and
                 ".lu" to inform sox of  the  encoding.   See  supported  file
                 types for more information.
                 ADPCM  is a form of sound compression that has a good compro-
                 mise between good sound quality  and  fast  encoding/decoding
                 time.   It is used for telephone sound compression and places
                 were full fidelity is not as important.  When uncompressed it
                 has  roughly the precision of 16-bit PCM audio.  Popular ver-
                 sion of ADPCM include G.726, MS ADPCM, and IMA ADPCM.  The -a
                 flag  has  different meanings in different file handlers.  In
                 .wav files it represents MS ADPCM files,  in  all  others  it
                 means  G.726  ADPCM.   IMA  ADPCM is a specific form of ADPCM
                 compression, slightly simpler  and  slightly  lower  fidelity
                 than  Microsoft's  flavor of ADPCM.  IMA ADPCM is also called
                 DVI ADPCM.
                 GSM is a standard used for  telephone  sound  compression  in
                 European  countries and its gaining popularity because of its
                 quality.  It usually is CPU intensive to work with GSM  audio
                 data.

Scheint gar nicht mal so dumm zu sein das Programm. Dann probiere ich das mal alles durch eines wird schon passen. Danke Dir.

Edit: Wer sagts denn muss ja nicht immer der letzte Schlüssel sein:
Code:
sox ab.wav -r 7200 -A outabA.wav
Kann auch mal der 2 passen.
 
Oben