I'm in the process of editing your code in order to be able to make into something similar to PJ's code where you can enter the values from a procedure call so that it can make sounds live from within a program.
It will eventually be split into 2 programs.. first one similar to this that can also display the call and values needed to generate the wave .. the other to be a procedure to play it in your program.
the difference i'm hoping to achieve is that instead of in PJ's case where they put in a random seed .. that you'll be able to use your export and use your .sfs data into end program or by adding that data to a procedure call
thus making it a similar command to those of the retro languages.
in doing so i've noticed that when you press random that at least some of the sliders that you have set up for only posative adjustments are at times displaying Negative values.
is this correct.. or are they actually or should they be converted to Posatives or ignored(IE: set to 0) when creating/playing the sound
eg: attacktime , decay time , vibrato depth
I hope you can follow what i'm attempting to do. (yeah i know i'm jumping in at the deep end again)
any help in this project of mine would greatfully be accepted
you can d/load a copy of my edited file from herehttp://www.codingmonkeys.com/index.php?action=tpmod;dl=item272
remember its still a work in progress and things WILL DEFINATLY change
changes so far .
Displays Values of the settings beside the sliders
added use of consolas ( size 8 ) font
touched up layout of screen
added SELECT/COPY/PASTE box (hopefully to be used later.. already generating sample syntax with correct values.. order of which WILL change)
made displayed waveform on play larger
Comments and Edits (to tidy up my code) appreciated