#3 force certain samplerate

closed
nobody
None
5
2004-11-21
2003-03-05
Anonymous
No

Hello,

I use mpg321 to decode mp3s on the fly when burning
CD's, but therefor the mp3s/wavs must have a sampling
rate of 44100 Hz. If I decode a lower quality mp3, the
wav file will be in a lower bitrate too.

Consider he following log from cdbakeoven:

Check http://cdrdao.sourceforge.net/drives.html#dt for
current driver tables.
ERROR:
/home/yalu/tmp/cdbo_audio_3_3_18_49_24_0.wav:
found sampling rate 22050, require 44100.
ERROR: Header of audio file
"/home/yalu/tmp/cdbo_audio_3_3_18_49_24_0.wav" is
corrupted.
ERROR:
/home/yalu/tmp/cdbo_audio_3_3_18_49_24_.toc:23:
Cannot determine length of track data specification.
ERROR:
/home/yalu/tmp/cdbo_audio_3_3_18_49_24_.toc:24:
START 00:02:00 behind or at track end.
Burn failed.
Failed to create Audio CD.

Gnome toaster doesn't do this check, and I end up with
an mp3 which is played back very fast in a cd writer.

Is there a way to force mpg321 to output audio with a
sampling rate of 44100?

Thx,
Frank

Discussion

  • Logged In: YES
    user_id=726719

    ok, forgot to log in. email can be sent to me...

     
  • Logged In: YES
    user_id=712646

    mpg321 does not currently implement resampling the audio. As a
    result, this is not currently possible.

     
    • status: open --> closed