how can i mix to wav file to one wav file ?
Printable View
how can i mix to wav file to one wav file ?
how can i mix 2 wav files to 1 wav file ?
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).
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:
open "wav1.wav" for binary access read as #1 get #1, , Mystring1 open "wav2.wav" for binary access read as #2 get #2, , MyString2 open app.path & "wav3.wav" for binary access write as #3 for i = 1 to len(MyString1) 'Place shortest file length there put #3, , mid(Mystring1,i,1) put #3, , mid(MyString2,i,1) next i close #3 close #2 close #1
Something like that, i aint even tested it but follow that principal