sometimes99er, on Sun Aug 21, 2011 12:50 AM, said:
Very nice indeed. BS in Music Ed. Nice. Any compositions of your own ?
I see you use a lot of SOUND statements. Must have taken forever to do all those songs. What steps did your go through to convert a piece of music ?

There are a few different ways to code xbasic music.
I experimented with several different styles based on what I saw other programmers doing.
One way is to use call sound statements, and just list them one after another. It works, and sometimes it's the best way.
Easy to keep track of what's going on.
The next best way is to use a standard gosub call sound with variables, like CALL SOUND(a,b,c,d,e,f,g,h,i).
Then just change the variables as you go and do the gosub.
Another style is to use vibrato along with the gosub call, as in the late Bill Knect's 'Why Me'. Look at the program to see what he's doing. Genius. Thanks, Bill, sorry you had to have that shit eating at your brain.
And sometimes you combine several of the styles to get the best result. I'm most proud of 'Spain', it's the best result I've gotten from
my music programming efforts. It uses several techniques, and is the most realistic piece of music I've coded as far as staying true to the original piece of music.
Just look at the techniques that I and those that have gone before me have used. It's a guide to what you can do and expand upon, the sky's the limit. Go for it!
T.K.