Hi,
 
I also try with --mono (--left/--right) option.
But the sound is also very strange. (stutter and fast)
I run the command with "./madplay --output=raw:/dev/dai --mono test.mp3"
How should I do to make MAD play music smoothly?
Does the audio_raw module have bug?
 
Please someone help me.
Thank you.

<hover0815@yahoo.com.tw> wrote:
Hi,
I have several questions about MAD plays mp3 on ARM-based platform.
When I play mp3 with MAD on ARM, there is an unusual phenomenon.
1. While playing a mp3 file which frequency is lower than 44100 hz, the music sounds like downsampled.
    Which means the sound is faster such that the time of play is fewer than original.
2. When applying the attenuation command (ex, --attenuate=10), some mp3 files will play intermittently.
    It seems CPU cannot support such high calculation. (CPU clock rate is 96khz)
    There are additional 2*32*36 multiplication per frame.
    Can MAD be simplified so that it can play mp3 more smoothly?
3. Why do some files play intermittently, and some don't?
    I tried several files, and still can not get its rule.
 
    bit rate freq.      channel mode result
    112k    44100   JS                  ok 
    128k    32000   JS                  X
    128k    44100   S                   ok
    192k    44100   JS                 ok
    192k    44100   S                   X
    It seems irrelative to bit rate, sample frequency or channel mode.
    What's the rule?
  
Can someone help me?
Thank you



–ぱ常 Yahoo!集
肅︹稲放荷獺┏瓜
獺┏瓜



–ぱ常 Yahoo!集
肅︹稲放荷獺┏瓜
獺┏瓜