ReaScript API
From CockosWiki
Line 148: | Line 148: | ||
| [[RPR_GetSet_ArrangeView2|GetSet_ArrangeView2]] | | [[RPR_GetSet_ArrangeView2|GetSet_ArrangeView2]] | ||
| [[RPR_GetSet_LoopTimeRange|GetSet_LoopTimeRange]] | | [[RPR_GetSet_LoopTimeRange|GetSet_LoopTimeRange]] | ||
+ | | [[RPR_GetSetEnvelopeState|GetSetEnvelopeState]] | ||
| [[RPR_GetSetItemState|GetSet_GetSetItemState]] | | [[RPR_GetSetItemState|GetSet_GetSetItemState]] | ||
| [[RPR_GetSetMediaItemTakeInfo_String|GetSetMediaItemTakeInfo_String]] | | [[RPR_GetSetMediaItemTakeInfo_String|GetSetMediaItemTakeInfo_String]] | ||
Line 154: | Line 155: | ||
| [[RPR_GetSetRepeat|GetSetRepeat]] | | [[RPR_GetSetRepeat|GetSetRepeat]] | ||
| [[RPR_GetSetRepeatEx|GetSetRepeatEx]] | | [[RPR_GetSetRepeatEx|GetSetRepeatEx]] | ||
+ | | [[RPR_GetSetTrackState|GetSetTrackState]] | ||
| [[RPR_GetTake|GetTake]] | | [[RPR_GetTake|GetTake]] | ||
|- | |- | ||
Line 159: | Line 161: | ||
| [[RPR_GetTrack|GetTrack]] | | [[RPR_GetTrack|GetTrack]] | ||
| [[RPR_GetTrackAutomationMode|GetTrackAutomationMode]] | | [[RPR_GetTrackAutomationMode|GetTrackAutomationMode]] | ||
+ | | [[RPR_GetTrackEnvelope|GetTrackEnvelope]] | ||
+ | | [[RPR_GetTrackEnvelopeByName|GetTrackEnvelopeByName]] | ||
| [[RPR_GetTrackGUID|GetTrackGUID]] | | [[RPR_GetTrackGUID|GetTrackGUID]] | ||
|- | |- | ||
Line 200: | Line 204: | ||
|- | |- | ||
| [[RPR_MIDIEditor_OnCommand|MIDIEditor_OnCommand]] | | [[RPR_MIDIEditor_OnCommand|MIDIEditor_OnCommand]] | ||
+ | | [[RPR_MIDI_eventlist_Create|MIDI_eventlist_Create]] | ||
+ | | [[RPR_MIDI_eventlist_Destroy|MIDI_eventlist_Destroy]] | ||
| [[RPR_mkpanstr|mkpanstr]] | | [[RPR_mkpanstr|mkpanstr]] | ||
| [[RPR_mkvolpanstr|mkvolpanstr]] | | [[RPR_mkvolpanstr|mkvolpanstr]] |
Revision as of 13:08, 7 November 2009
ReaScript API Documentation
Don't forget - Call API functions using RPR_functionname() - Don't forget the RPR_
Functions that cannot return information in the parameter list will return a single value, functions that can return information in the parameter list will return a list of values.
Using these functions.
If a function takes a void* argument in the parameter list, which ReaScript thinks (correctly) is a modifiable variable, or any other modifiable variables in the parameter list, the function will return an array (return, parm1, parm2, ...).
This is a little counter-intuitive to Perl programmers but stick with me and read the example please.
e.g GetUserInputs()
Specific Reaper type pointers like MediaItem* are not considered modifiable by ReaScript.
Anything in the API documentation that is marked with a '?' is an assumption or something I'm just not sure about. If you happen to know whatever it is for certain - please correct or confirm the entry.
Anything you see that's wrong or incomplete - and there's certainly plenty incomplete - please add a brief note saying what needs to be done. Someone will be along in a while with the time to make the change look good if you don't have the time.