RPR GetSetTrackSendInfo

From CockosWiki

Jump to: navigation, search

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR GetSetTrackSendInfo
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR GetSetTrackSendInfo

Contents

GetSetTrackSendInfo()

void * GetSetTrackSendInfo(MediaTrack *tr, int category, int sendidx, const char *parmname, void *setNewValue)

category is <0 for receives, 0=sends, >0 for hardware outputs sendidx is 0..n (NULL on any required parameter to stop)

parameter names:

  • "P_DESTTRACK" (read only, returns MediaTrack *, destination track, only applies for sends/recvs)
  • "P_SRCTRACK" (read only, returns MediaTrack *, source track, only applies for sends/recvs)
  • "B_MUTE" (returns bool *, read/write)
  • "B_PHASE" (returns bool *, read/write - true to flip phase)
  • "B_MONO" (returns bool *, read/write)
  • "D_VOL" (returns double *, read/write - 1.0 = +0dB etc)
  • "D_PAN" (returns double *, read/write - -1..+1)
  • "D_PANLAW" (returns double *,read/write - 1.0=+0.0db, 0.5=-6dB, -1.0 = projdef etc)
  • "I_SENDMODE" (returns int *, read/write - 0=post-fader, 1=pre-fx, 2=post-fx(depr), 3=post-fx)
  • "I_SRCCHAN" (returns int *, read/write - index,&1024=mono, -1 for none)
  • "I_DSTCHAN" (returns int *, read/write - index, &1024=mono, otherwise stereo pair, hwout:&512=rearoute)
  • "I_MIDIFLAGS" (returns int *, read/write - low 5 bits=source channel 0=all, 1-16, next 5 bits=dest channel, 0=orig, 1-16=chan)

set setNewValue to non-NULL to set the value

Parameters

MediaTrack *tr,
int category,
int sendidx,
const char *parmname,
void *setNewValue

Returns

void *

Example


See Also


Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR GetSetTrackSendInfo
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR GetSetTrackSendInfo

Personal tools