|
|
|
04-02-2019, 01:07 AM
|
#1
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,812
|
what is this? P_ENV : read only, returns TrackEnvelope * in GetTrackSendInfo_Value
hi!
this written in documentation for: reaper.GetTrackSendInfo_Value(MediaTrack ...)
"P_ENV : read only, returns TrackEnvelope *, setNewValue=<VOLENV, <PANENV, etc"
because i just get a return of 0.0 which i don't know what it means.
I expected to return an TrackEnvelope!
Thank you!
|
|
|
04-02-2019, 03:43 AM
|
#2
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
The function according to the documentation returns just a number. However it might be also returning a handle/pointer for the envelope. 0 in that case would mean there was no appropriate envelope to return.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
04-02-2019, 03:56 AM
|
#3
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,812
|
Thank you xenakios! I couldn't have still and different result. Will try more later. Thanks!
|
|
|
04-02-2019, 04:01 AM
|
#4
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
I would actually expect it to return the text chunk state of all the envelopes, since the sends/receives can have multiple envelopes. It's quite likely the documentation has some error and the "P_ENV" isn't really even supported.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
04-02-2019, 07:31 AM
|
#5
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
|
Ah, that API is actually only usable from the C version, oops. Looking at the best way to fix, hmph.
Last edited by Justin; 04-02-2019 at 07:36 AM.
|
|
|
04-02-2019, 08:21 AM
|
#6
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,812
|
ohhh thank you! hope for the best. Take your time!
|
|
|
04-05-2019, 06:08 AM
|
#7
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
|
Oooh...nice...
|
|
|
10-13-2019, 03:14 PM
|
#8
|
Human being with feelings
Join Date: Jul 2010
Posts: 49
|
this would be useful for me too - I'm trying to come up with a script that would toggle the visibility of all send volume envelopes for a given track - i.e. if I have some aux busses with stuff like reverbs I'd like to have a script to show all send volume envelopes for the selected aux bus - but without support for P_ENV in RPR_GetTrackSendInfo_Value it's impossible to get the appropriate send volume envelopes (or else I can't figure it out)..
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:12 AM.
|