RPR BypassFxAllTracks

From CockosWiki

Jump to: navigation, search

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

Contents

BypassFxAllTracks()

void BypassFxAllTracks(int bypass)

Acts on all of the tracks in the current project;

Parameters

int bypass

If bypass equals 1 the function bypasses the FX chain for each track, otherwise the function "unbypasses" the FX chain for each track.

Returns

Nothing.

Caveats

It's worth remembering that whilst you might often want to bypass the FX chain on every track there'll be occasions when you don't want to unbypass everything - when you have manually bypassed the FX chain on some tracks for instance.

Examples

C++

 

Perl

#
# BypassFxAllTracks.pl
#
 
use strict;
use warnings;
 
use constant MSGBOX_JUST_OK => 0;
use constant BYPASS => 1;
use constant UNBYPASS => 0;
 
RPR_BypassFxAllTracks(BYPASS);
RPR_ShowMessageBox("All FX bypassed", "BypassFxAllTracks", MSGBOX_JUST_OK);
RPR_BypassFxAllTracks(UNBYPASS);
RPR_ShowMessageBox("All FX UN-bypassed", "BypassFxAllTracks", MSGBOX_JUST_OK);

Python

#
# BypassFxAllTracks.py
#
 
MSGBOX_JUST_OK = 0
BYPASS = 1
UNBYPASS = 0
 
RPR_BypassFxAllTracks( BYPASS )
RPR_ShowMessageBox( "All FX bypassed", "BypassFxAllTracks", MSGBOX_JUST_OK )
RPR_BypassFxAllTracks( UNBYPASS )
RPR_ShowMessageBox( "All FX UN-bypassed", "BypassFxAllTracks", MSGBOX_JUST_OK )

See Also

track: GetLastTouchedTrack, GetMediaItemTake_Track, GetMediaItem_Track, GetMediaTrackInfo_Value, GetNumTracks, GetSelectedTrack, GetSelectedTrackEnvelope, GetSetMediaTrackInfo_String, GetSetTrackState, GetTrack, GetTrackAutomationMode, GetTrackEnvelope, GetTrackEnvelopeByName, GetTrackGUID, GetTrackMIDINoteName, GetTrackMIDINoteNameEx, GetTrackMediaItem, GetTrackNumMediaItems, GetTrackState, GetTrackUIVolPan, HasTrackMIDIPrograms, HasTrackMIDIProgramsEx, InsertTrackAtIndex, MoveMediaItemToTrack, MuteAllTracks, PlayTrackPreview, PlayTrackPreview2, SetMediaTrackInfo_Value, SetTrackAutomationMode, SetTrackMIDINoteName, SetTrackMIDINoteNameEx, SetTrackSelected, SoloAllTracks, StopTrackPreview, StopTrackPreview2, TrackFX_FormatParamValue, TrackFX_GetCount, TrackFX_GetFXName, TrackFX_GetNumParams, TrackFX_GetParam, TrackFX_GetParamName, TrackFX_SetParam, TrackList_AdjustWindows, TrackList_UpdateAllExternalSurfaces, Track_GetPeakInfo, AddMediaItemToTrack, BypassFxAllTracks, CSurf_NumTracks, CSurf_OnTrackSelection, CSurf_SetTrackListChange, CSurf_TrackFromID, CSurf_TrackToID, CountSelectedTracks, CountTrackEnvelopes, CountTrackMediaItems, CountTracks, DeleteTrack, DeleteTrackMediaItem, EnumTrackMIDIProgramNames, EnumTrackMIDIProgramNamesEx,

fx: PluginWantsAlwaysRunFx, TrackFX_FormatParamValue, TrackFX_GetCount, TrackFX_GetFXName, TrackFX_GetNumParams, TrackFX_GetParam, TrackFX_GetParamName, TrackFX_SetParam, BypassFxAllTracks, CSurf_OnFXChange,

(Section automatically generated, edits may be overwritten.)

Stuff

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

Personal tools