Old 03-23-2019, 07:28 PM   #1
J Reverb
Human being with feelings
Join Date: Jul 2009
Posts: 604
Default Q. How to get actively writing envelopes ?

How to get current values for actively writing envelopes ?
I can't find anything in the API that seems to indicate this is possible but it probably is...
Any idea's ?
I recently got invited to a flat earth convention in Sydney but due to it being half way around the world, in the end i didn't bother.
J Reverb is offline   Reply With Quote
Old 03-23-2019, 11:36 PM   #2
Human being with feelings
mpl's Avatar
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,342

loop through tracks and see GetMediaTrackInfo_Value( tr, 'I_AUTOMODE')==3


retval, value, dVdS, ddVdS, dddVdS = reaper.Envelope_Evaluate( envelope, time, samplerate, samplesRequested )
Get the effective envelope value at a given time position. samplesRequested is how long the caller expects until the next call to Envelope_Evaluate (often, the buffer block size). The return value is how many samples beyond that time position that the returned values are valid. dVdS is the change in value per sample (first derivative), ddVdS is the seond derivative, dddVdS is the third derivative. See GetEnvelopeScalingMode.
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 09:05 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.