11namespace tracktion {
inline namespace engine
17 int getMidiClickNote (
Engine&,
bool big);
19 void setMidiClickNote (
Engine&,
bool big,
int noteNum);
49 double sampleRate = 44100.0;
51 int bigClickMidiNote = 37, littleClickMidiNote = 76;
56 void render (choc::buffer::ChannelArrayView<float>&);
58 int samplesRemaining();
88 const int numChannels;
89 const bool generateMidi;
90 double sampleRate = 44100.0;
Generates click audio and MIDI and adds them to the provided buffer.
void processBlock(choc::buffer::ChannelArrayView< float > *, MidiMessageArray *, TimeRange)
Adds clicks to a block of audio and MIDI for a given time range.
void prepareToPlay(double sampleRate, TimePosition startTime)
Prepares a ClickGenerator to be played.
Adds audio and MIDI clicks to the input buffers.
std::vector< Node * > getDirectInputNodes() override
Should return all the inputs directly feeding in to this node.
tracktion::graph::NodeProperties getNodeProperties() override
Should return the properties of the node.
bool isReadyToProcess() override
Should return true when this node is ready to be processed.
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.
The Tracktion Edit class!
TransportControl & getTransport() const noexcept
Returns the TransportControl which is used to stop/stop/position playback and recording.
TempoSequence tempoSequence
The global TempoSequence of this Edit.
const tempo::Sequence & getInternalSequence() const
N.B.
EditPlaybackContext * getCurrentPlaybackContext() const
Returns the active EditPlaybackContext if this Edit is attached to the DeviceManager for playback.
Main graph Node processor class.
Struct to describe a single iteration of a process call.
Converts a monotonically increasing reference range in to a timeline range.
Represents a position in real-life time.
A Sequence::Position is an iterator through a Sequence.
Holds some really basic properties of a node.
Passed into Nodes when they are being initialised, to give them useful contextual information that th...