Results 1 to 4 of 4

Thread: how can i mix to wav file to one wav file ?

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    42

    how can i mix to wav file to one wav file ?

    how can i mix to wav file to one wav file ?

  2. #2

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    42

    how can i mix 2 wav files to 1 wav file ?

    how can i mix 2 wav files to 1 wav file ?

  3. #3
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Wink

    Although it is not VB related, .... i can suggest you use a program called SuperSonic. Or just load the second wav file into the first one using Sound Recorder (installed with Windows).
    ~Peter


  4. #4
    Addicted Member Bazza81's Avatar
    Join Date
    Apr 2001
    Location
    Nottingham, UK
    Posts
    203
    open the two wav files for binary access, then get the length (lof) of the shortest file (so you dont create errors by writting in space that isnt there) then create a new wav file and copy both the wav files binary info into the newly created wav file

    VB Code:
    1. open "wav1.wav" for binary access read as #1
    2. get #1, , Mystring1
    3.  
    4. open "wav2.wav" for binary access read as #2
    5. get #2, , MyString2
    6.  
    7. open app.path & "wav3.wav" for binary access write as #3
    8. for i = 1 to len(MyString1) 'Place shortest file length there
    9. put #3, , mid(Mystring1,i,1)
    10. put #3, , mid(MyString2,i,1)
    11. next i
    12.  
    13. close #3
    14. close #2
    15. close #1

    Something like that, i aint even tested it but follow that principal
    Last edited by Bazza81; Dec 14th, 2001 at 10:33 AM.
    Who needs rhetorical questions anyway?


    Bazza NET - The place you want to be!

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