playing audio on web page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandeepk84
    New Member
    • Oct 2006
    • 97

    #1

    playing audio on web page

    Hi all,

    I have recorded sound using my program. It uses classes like AudioSystem. And it's
    able to record and play also. but in my site I have an mp3 player. So i thought of converting the recorded wav file into mp3. For this i used LAME utility in Linux. And it was converted. Also it is being played in normal players like Winamp. But when i try to play this converted mp3 file using my player in my site it's having problem. Why is it like that?
    Should i do something while capturing the sound from microphone so that it can be converted into mp3 format??
    Or
    Can I directly capture voice to an mp3 file??

    In my program,

    targetDataLine. open(audioForma t) where audioFormat is like

    float sampleRate = 8000.0F;
    int sampleSizeInBit s = 16;
    int channels = 1;
    boolean signed = true;
    boolean bigEndian = false;

    Should I do something more or change something??

    Please help me...

    Thanx and Regards,
    sand...
Working...