|
| | ModifierNode (std::unique_ptr< Node > input, tracktion::engine::Modifier::Ptr, double sampleRateToUse, int blockSizeToUse, const TrackMuteState *, tracktion::graph::PlayHeadState &, bool rendering, ClearOutputs) |
| | Creates a ModifierNode to process a Modifier.
|
| |
| | ModifierNode (std::unique_ptr< Node > input, tracktion::engine::Modifier::Ptr, double sampleRateToUse, int blockSizeToUse, std::shared_ptr< InputProvider >) |
| | Creates a ModifierNode to process a plugin on in a Rack with an InputProvider.
|
| |
| | ~ModifierNode () override |
| | Destructor.
|
| |
| Modifier & | getModifier () |
| |
| tracktion::graph::NodeProperties | getNodeProperties () override |
| | Should return the properties of the node.
|
| |
| std::vector< Node * > | getDirectInputNodes () override |
| | Should return all the inputs directly feeding in to this node.
|
| |
| bool | isReadyToProcess () override |
| | Should return true when this node is ready to be processed.
|
| |
| void | prepareToPlay (const tracktion::graph::PlaybackInitialisationInfo &) override |
| | Called once before playback begins for each node.
|
| |
| void | process (ProcessContext &) override |
| | Called when the node is to be processed.
|
| |
| | Node ()=default |
| |
| virtual | ~Node ()=default |
| |
| void | initialise (const PlaybackInitialisationInfo &) |
| | Call once after the graph has been constructed to initialise buffers etc.
|
| |
| void | prepareForNextBlock (juce::Range< int64_t > referenceSampleRange) |
| | Call before processing the next block, used to reset the process status.
|
| |
| void | process (choc::buffer::FrameCount numSamples, juce::Range< int64_t > referenceSampleRange) |
| | Call to process the node, which will in turn call the process method with the buffers to fill.
|
| |
| bool | hasProcessed () const |
| | Returns true if this node has processed and its outputs can be retrieved.
|
| |
| AudioAndMidiBuffer | getProcessedOutput () |
| | Returns the processed audio and MIDI output.
|
| |
| virtual TransformResult | transform (TransformOptions &) |
| | Called after construction to give the node a chance to modify its topology.
|
| |
| virtual std::vector< Node * > | getInternalNodes () |
| | Can return Nodes that are internal to this Node but don't make up the main graph constructed from getDirectInputNodes().
|
| |
| void | retain () |
| | Retains the buffers so they won't be deallocated after the Node has processed.
|
| |
| void | release () |
| | Releases the buffers allowing internal storage to be deallocated.
|
| |
| virtual size_t | getAllocatedBytes () const |
| |
| void | enablePreProcess (bool) |
| |
|
| void * | internal = nullptr |
| |
| int | numOutputNodes = -1 |
| |
| virtual void | prefetchBlock (juce::Range< int64_t >) |
| | Called before once on all Nodes before they are processed.
|
| |
| virtual void | preProcess (choc::buffer::FrameCount, juce::Range< int64_t >) |
| | Called when the node is to be processed, just before process.
|
| |
| void | setOptimisations (NodeOptimisations) |
| | This can be called to provide some hints about allocating or playing back a Node to improve efficiency.
|
| |
| void | setBufferViewToUse (Node *sourceNode, const choc::buffer::ChannelArrayView< float > &) |
| | This can be called during prepareToPlay to set a BufferView to use which can improve efficiency.
|
| |
| void | setAudioOutput (Node *sourceNode, const choc::buffer::ChannelArrayView< float > &) |
| | This can be called during your process function to set a view to the output.
|
| |
Node for processing a Modifier.