11namespace tracktion {
inline namespace engine
56 bool wasBeingPlayedFlag =
false;
59 bool callInputWhileMuted =
false;
60 bool processMidiWhileMuted =
false;
64 bool isBeingPlayed()
const;
78 bool dontMuteIfTrackContentsShouldBeProcessed);
93 bool dontMuteIfTrackContentsShouldBeProcessed =
false;
94 bool canUseSourceBuffers =
false;
97 void rampBlock (choc::buffer::ChannelArrayView<float>,
float start,
float end);
The Tracktion Edit class!
Holds the state of a Track and if its contents/plugins should be played or not.
bool shouldTrackBeAudible() const
Returns true if the track's mix bus should be audible.
void update()
Call once per block to update the mute status.
bool wasJustUnMuted() const
Returns true if the last block wasn't audible but this one is.
bool shouldTrackMidiBeProcessed() const
Returns true if the track's MIDI should be processed to avoid breaks in long notes.
size_t getItemID() const
Returns the ID for the relevant item, either the Track or Edit.
bool shouldTrackContentsBeProcessed() const
Returns true if the track's contents should be processed e.g.
bool wasJustMuted() const
Returns true if the last block was audible but this one isn't.
A Node that handles muting/soloing of its input node, according to the audibility of a track.
void process(ProcessContext &) override
Called when the node is to be processed.
void prepareToPlay(const tracktion::graph::PlaybackInitialisationInfo &) override
Called once before playback begins for each node.
bool isReadyToProcess() override
Should return true when this node is ready to be processed.
std::vector< Node * > getDirectInputNodes() override
Should return all the inputs directly feeding in to this node.
void prefetchBlock(juce::Range< int64_t >) override
Called before once on all Nodes before they are processed.
void preProcess(choc::buffer::FrameCount, juce::Range< int64_t >) override
Called when the node is to be processed, just before process.
tracktion::graph::NodeProperties getNodeProperties() override
Should return the properties of the node.
Base class for tracks which contain clips and plugins and can be added to Edit[s].
Main graph Node processor class.
Struct to describe a single iteration of a process call.
Holds some really basic properties of a node.
Passed into Nodes when they are being initialised, to give them useful contextual information that th...