Old 02-10-2017, 10:55 AM   #1
Noleli
Human being with feelings
 
Join Date: Feb 2017
Posts: 3
Default Getting envelopes via the web interface

Is it possible to get envelope shapes via the web interface? This (and main.js) document:

Quote:
GET/TRACK/index/xxxxxx
Requests information for track "index", via `GetSetMediaTrackInfo()`. See the REAPER API documentation for which strings are acceptable…
The ReaScript docs for `GetMediaTrackInfo_Value()` say that it accepts `P_ENV`, but `GET/TRACK/1/P_ENV` is just returning the GET string (as the docs say it’ll do if there’s an error). It also isn’t clear how to specify which envelope I’m looking for. Adding `/VOLENV` to the request doesn’t do the trick.

Thanks!
Noleli is offline   Reply With Quote
Old 02-12-2017, 07:24 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

P_ENV would be a pointer to a C++ object, so I am not sure if that would be too helpful in the web interface context.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Old 02-12-2017, 10:47 AM   #3
Noleli
Human being with feelings
 
Join Date: Feb 2017
Posts: 3
Default

Aah, I was trying to think of what data type started with P, thanks. Do end users have access to the web interface backend layer so I could try to dereference the pointer and return a string?
Noleli is offline   Reply With Quote
Old 02-12-2017, 11:18 AM   #4
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

Quote:
Originally Posted by Noleli View Post
Aah, I was trying to think of what data type started with P, thanks. Do end users have access to the web interface backend layer so I could try to dereference the pointer and return a string?
I don't know much about how the web interface works. Hopefully someone else knows better what is possible with it.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Old 02-16-2017, 08:27 AM   #5
Noleli
Human being with feelings
 
Join Date: Feb 2017
Posts: 3
Default

Thanks. Anyone know?
Noleli is offline   Reply With Quote
Reply

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 03:05 AM.


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