Damned if this doesn't confuse the crap out of me no matter how many times I read the relevant sections in the documentation, or study the examples. Well, I will never be a talented programmer, this I know, and accept, but I want to be able to do this. I've asked in the skype group and got help there a bit but I still can't figure the thing out.
What I want to do is be able to use the tone_synth object, I want to have a function that generates the data I specif and loads it into memory by use of the write_wave_sound. Yes, I know I can just make the file and that makes things a lot easier, but that's not what I want, and that teaches me nothing because I already know how to do it. I just don't get handles at all. I don't get what the point is of them, if I had to guess, I would say it might be something like in C# how you have static vars vs abstract or whatever they call it, but I'm not sure about that.
So here's what I need:
- the reason you use them at all
- what they do
-how to use them, with examples, and if someone could help me more privately if I can't figure this out on my own.
- how to pass a handle from this sound object into other functions I've created.
I'm making a little tool off of Colton's thing he did on twitter. I want to code the thing myself, and do as much of it as possible, but I need help with this part, once I've got this down I'm straight, I can manage the rest.
*sits back and watches user karma skyrocket with a huge grin plastered across his face*