Re: Threading Question
Re: Threading Question
- Subject: Re: Threading Question
- From: Richard Dobson <email@hidden>
- Date: Tue, 31 Jan 2012 09:42:43 +0000
On 31/01/2012 02:09, ben kamen wrote:
Thanks for all the responses!
Gregory - the setup you describe is somewhat similar to how my envelope
is set up - all I am really doing with my "decay()", etc. functions is
changing the increment/direction of the amplitude and reseting a
counter....but I can see how putting it all in one function might clear
up the problem. Though part of the problem is what happens when
"release()" is called while the envelope is still in the "attack" phase.
No different from calling release when it is in the decay or sustain
stage. You just jump internally on receipt of the message to the release
code, computing from whatever level the system was in at that point.
A/D/S makes no difference, the procedure is the same. Of course if the
attack is set to be slow, and someone just flicks the key on off really
fast as if playing a drum, they can't expect to hear anything very much.
Richard Dobson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden