audio/track_processor.h file

Contents

Track processor.

Classes

struct TrackProcessor
A TrackProcessor is a processor that is used as the first entry point when processing a track.

Enums

enum TrackProcessorMidiAutomatable { MIDI_AUTOMATABLE_MOD_WHEEL, MIDI_AUTOMATABLE_PITCH_BEND, NUM_MIDI_AUTOMATABLES }
Automatable MIDI signals.

Typedefs

using TrackProcessorMidiAutomatable = enum TrackProcessorMidiAutomatable
Automatable MIDI signals.
using TrackProcessor = struct TrackProcessor
A TrackProcessor is a processor that is used as the first entry point when processing a track.

Functions

void track_processor_init_loaded(TrackProcessor* self, bool is_project)
Inits a TrackProcessor after a project is loaded.
auto track_processor_new(Track* track) -> TrackProcessor*
Creates a new track processor for the given track.
void track_processor_copy_values(TrackProcessor* dest, TrackProcessor* src)
Copy port values from src to dest.
void track_processor_clear_buffers(TrackProcessor* self)
Clears all buffers.
void track_processor_disconnect_all(TrackProcessor* self)
Disconnects all ports connected to the TrackProcessor.
void track_processor_process(TrackProcessor* self, const long g_start_frames, const nframes_t local_offset, const nframes_t nframes)
Process the TrackProcessor.
void track_processor_disconnect_from_prefader(TrackProcessor* self)
Disconnect the TrackProcessor's stereo out ports from the prefader.
void track_processor_connect_to_prefader(TrackProcessor* self)
Connects the TrackProcessor's stereo out ports to the Channel's prefader in ports.
void track_processor_disconnect_from_plugin(TrackProcessor* self, Plugin* pl)
Disconnect the TrackProcessor's out ports from the Plugin's input ports.
void track_processor_connect_to_plugin(TrackProcessor* self, Plugin* pl)
Connect the TrackProcessor's out ports to the Plugin's input ports.
void track_processor_free(TrackProcessor* self)
Frees the TrackProcessor.