View Single Post
Old 09-16-2012, 11:01 AM   #66
gofer
-blänk-
 
gofer's Avatar
 
Join Date: Jun 2008
Posts: 11,359
Default

You misunderstood.
All 4 parameters you listed (volume, pan, pitch, rate) are at take level. Reaper doesn't have per item pan/pitch/rate, so there are no functions for that at an item level.
The item volume handle is another thing. Obviously you need a different access to take volume vs item volume. I gave you both, because while you talked about items at least in case of pan/pitch/rate you sure meant takes - but in case of volume I couldn't decide what you meant.

You will have to call SetMediaItemTakeInfo_Value() separately for each parameter you want to set anyway (4 times for 4 parameters).

As this isn't a tutorial thread and I don't know very much about it, I leave the FX question out. Keyword: Item state chunk (or the upcoming SWS ReaScript function SNM_GetSetSourceState).
gofer is offline   Reply With Quote