Results 1 to 16 of 16

Thread: how to convert .wav to mp3

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2001
    Posts
    27

    Wink how to convert .wav to mp3

    hello friends
    i want to know how can i convert a .wav file to mp3 format
    please tell me.

  2. #2
    j2k
    Guest
    I don't doubt it's not possible in API but I think it would be easier to download one of the many OCX's that handle MP3 Encoding/Decoding and use that instead.

  3. #3
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673

    VB or ....

    Do you want to do this with a VB program or
    in general? (winamp)
    K i n g s

  4. #4
    Lively Member
    Join Date
    Dec 2000
    Location
    Indiana
    Posts
    73
    I'd like to know how in C(++) or VB.
    if(GetWindowLong(hwnd,GWL_ID)==IDC_MICROSOFT_APPLICATION)
    {
    SetWindowText(hwnd,"I suck.");
    SendMessage(hwnd,WM_START_SUCKING,0,0);
    SendMessage(hwnd,WM_CRASH,0,0);
    }

  5. #5
    AutoBot
    Guest

    DLL

    Why not just use the lame encoder dll, and write a application that communicates the proper settings.

  6. #6
    Lively Member
    Join Date
    Dec 2000
    Location
    Indiana
    Posts
    73
    cuz thats the cheap way out
    if(GetWindowLong(hwnd,GWL_ID)==IDC_MICROSOFT_APPLICATION)
    {
    SetWindowText(hwnd,"I suck.");
    SendMessage(hwnd,WM_START_SUCKING,0,0);
    SendMessage(hwnd,WM_CRASH,0,0);
    }

  7. #7
    AutoBot
    Guest

    Well

    Maybe the cheap way out, but why reinvent the wheel. There is no way a vb application will convert a wave to mp3 format as quickly as the lame encoder can.

  8. #8
    Lively Member
    Join Date
    Dec 2000
    Location
    Indiana
    Posts
    73
    Then whats the C code? I HATE using other peoples code! I even rewrote most of the stdlib stuff for C, and the printf function
    if(GetWindowLong(hwnd,GWL_ID)==IDC_MICROSOFT_APPLICATION)
    {
    SetWindowText(hwnd,"I suck.");
    SendMessage(hwnd,WM_START_SUCKING,0,0);
    SendMessage(hwnd,WM_CRASH,0,0);
    }

  9. #9
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    can you give a reason for rewriting all that code?

  10. #10
    Lively Member
    Join Date
    Dec 2000
    Location
    Indiana
    Posts
    73
    Yes. Its fun, and I want to know how it works. I love the intricicies(sp?) of programing.
    if(GetWindowLong(hwnd,GWL_ID)==IDC_MICROSOFT_APPLICATION)
    {
    SetWindowText(hwnd,"I suck.");
    SendMessage(hwnd,WM_START_SUCKING,0,0);
    SendMessage(hwnd,WM_CRASH,0,0);
    }

  11. #11
    AutoBot
    Guest

    Talking Asm

    You want a fast mp3 encoder and you like to code alot, why not go download your local copy of MASM or NASM and code it with assembly.

  12. #12
    Lively Member
    Join Date
    Dec 2000
    Location
    Indiana
    Posts
    73
    Actually, I need to know the STRUCTURE of the mp3 en/decoder. I dont know where to start. I looked at the format, but.. I dont exactly get it. Also, I dont know how to work with sound
    if(GetWindowLong(hwnd,GWL_ID)==IDC_MICROSOFT_APPLICATION)
    {
    SetWindowText(hwnd,"I suck.");
    SendMessage(hwnd,WM_START_SUCKING,0,0);
    SendMessage(hwnd,WM_CRASH,0,0);
    }

  13. #13
    AutoBot
    Guest

    PSC

    I have seen some source code on psc for a mp3 encoder, you may wanna check there.

  14. #14
    TheSarlacc
    Guest

    LAME ENCODER

    speaking of the Lame Encoder (the best), what are the declares and calls u have to make to it to en/decode an mp3 to wav and vice versa? thx in advance

  15. #15
    AutoBot
    Guest

    Lame Dll Functions

    beEncodeChunk
    beInitStream
    beDeinitStream
    beCloseStream
    beVersion
    beWriteVBRHeader

  16. #16
    TheSarlacc
    Guest
    sweet thx for that. now, how do i use them? parameters etc?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width