Get the total number of tracks in the current REAPER project (excluding master track).
Get information about a track.
Args:
track_index: Track index (0-based). Use -1 for the master track.
Returns:
Object with 'info': guid, name, volume, volume_db, pan, muted, soloed,
has_midi, has_audio, fx_names, role.
Get information about all tracks in the project.
Get information about the master track.
Insert a new track at the specified index.
Args:
index: Position to insert track (0-based). If not specified, adds at end.
name: Optional name for the new track.
Returns:
Info about the created track.
Delete a track.
Args:
track_index: Track index to delete (0-based). Cannot delete master track (-1).
Set the name of a track.
Args:
track_index: Track index (0-based) or -1 for master track.
name: New name for the track.
Set the volume of a track in decibels.
Args:
track_index: Track index (0-based) or -1 for master track.
volume_db: Volume in dB (0 = unity gain, -inf to +12 typical range).
Set the pan position of a track.
Args:
track_index: Track index (0-based) or -1 for master track.
pan: Pan position from -1.0 (full left) to 1.0 (full right). 0 = center.
Set the mute state of a track.
Args:
track_index: Track index (0-based) or -1 for master track.
mute: True to mute, False to unmute.
Set the solo state of a track.
Args:
track_index: Track index (0-based) or -1 for master track.
solo: True to solo, False to unsolo.
Get the number of FX plugins on a track.
Args:
track_index: Track index (0-based) or -1 for master track.
Returns:
Object with 'ret' field containing count.
+164 more tools listed on main page