RPR SetMediaItemTakeInfo Value
From CockosWiki
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR SetMediaItemTakeInfo Value
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR SetMediaItemTakeInfo Value
Contents |
SetMediaItemTakeInfo_Value()
bool SetMediaItemTakeInfo_Value(MediaItem_Take* take, const char* parmname, double newvalue)
Set media item take numerical-value attributes.
- D_STARTOFFS : double *, start offset in take of item
- D_VOL : double *, take volume
- D_PAN : double *, take pan
- D_PANLAW : double *, take pan law (-1.0=default, 0.5=-6dB, 1.0=+0dB, etc)
- D_PLAYRATE : double *, take play rate (1.0=normal, 2.0=doublespeed, etc)
- D_PITCH : double *, take pitch adjust (in semitones, 0.0=normal, +12 = one octave up, etc)
- B_PPITCH, bool *, preserve pitch when changing rate
- I_CHANMODE, int *, channel mode (0=normal, 1=revstereo, 2=downmix, 3=l, 4=r)
- I_PITCHMODE, int *, pitch shifter mode, -1=proj default, otherwise high word=shifter low word = parameter
Parameters
Returns
bool 1=ok, 0=fail?
Examples
Perl
Python
See Also
Stuff
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR SetMediaItemTakeInfo Value
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR SetMediaItemTakeInfo Value