Wave file info?

Miscellaneous Forums/General Discussion/Wave file info?

I have been working on wave files lately and have managed, so far, to create a sinus wave, using the Sin function. And also a triangle function.

anyway, i was wondering if anyone knows any good info on this, like algorithms and stuff like that for creating wave forms that would be useful?

oh yeah, i should says i've looked at www.codeproject.com/ and http://sourceforge.net/ without much results. in fact, the best source i found came from the PureBasic codearchive, which showed how to write a sinus wave file.

While i'm on the subject i found this http://netghost.narod.ru/gff/graphics/summary/micriff.htm
this http://www.wotsit.org/search.asp?page=8&s=music
and also this http://local.wasp.uwa.edu.au/~pbourke/dataformats/wave/
had the most most useful wave info.

Aha! i just stumbled across a few pages that clarifies this issue with me.

this http://www.softsynth.com/jsyn/tutorial/other_osc.html
and this http://en.wikipedia.org/wiki/Waveform

so it seems what i thought was saw is actually called triangle and saw is sawtooth which is like "/".

ok, babbling over. :)

I have also now written square and sawtooth functions.