04-23-2003, 07:50 PM
I have made a bit of a hobby out of music theory, and i want to make a sound sythesis program in VB6. I know all the formulas i need to create the formula for the waveform that would make the sound, but i dont know how to take a formula and turn it into a .wav file. I have some programs that do this, but i dont understand them, so i dont really know how to change them to fit my needs. Can anyone help? I dont know how to play .wav s in VB6 either.
04-23-2003, 07:55 PM
You need the MMControl to play WAVs, though I dunno anything about saving.
You can also use APIs
I have posted code showing how to synthesize a sine wave generated sound (any frequency) and assign to an array in this thread:
You will have to prepend the header info.
04-24-2003, 02:09 PM
Well, thanx for the help. I mostly reminded me of how much of a newbie i am at this, but it did give me more specific things to research. Ill figure it out eventually.