sounds in code ?

BlitzMax Forums/BlitzMax Programming/sounds in code ?

QuietBloke: It's untested on Mac

the code generates the wav files in windows format. The code does need converting so that it does not need to generate wav files (ie in memory) At that point it'll be cross platform I think!

When it works you'll have access to the old 6502 era machines music systems (not quite c64, more BBC/NES with sample channels...)

You have Vol envelope, Pitch envelope, LFOs etc. you just have to ensure updatesound() is called often enough (this could be setup with events if needed...)


[edit]

OK It seems to be an Endian problem. I may look over this at the weekend.