Another sound question

BlitzMax Forums/BlitzMax Beginners Area/Another sound question

Okay, I saw that somewhere else too. Thanks for the quick reply.

I guess what I'm asking for at the moment is help with the formula, to make it a pure note.

sample1.samples[k]=Sin(k*360/32)*127.5+127.5+note was lifted from the Blitzwiki, I have no idea how to change it to sound better. I've experimented for a bit, I've changed the pitch etc but it still sounds bad.