Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
SampleProcessor Struct Reference

A processor to be used in the routing graph for playing samples independent of the timeline. More...

#include <dsp/sample_processor.h>

Collaboration diagram for SampleProcessor:

Data Fields

SamplePlayback current_samples [256]
 An array of samples currently being played.
 
int num_current_samples
 
Tracklisttracklist
 Tracklist for file auditioning.
 
PluginSettinginstrument_setting
 Instrument for MIDI auditioning.
 
MidiEventsmidi_events
 
Faderfader
 Fader connected to the main output.
 
Position playhead
 Playhead for the tracklist (used when auditioning files).
 
Position file_end_pos
 Position the file ends at.
 
bool roll
 Whether to roll or not.
 
AudioEngineaudio_engine
 Pointer to owner audio engin, if any.
 
Graphgraph
 Temp processing graph.
 
ZixSem rebuilding_sem
 Semaphore to be locked while rebuilding the sample processor tracklist and graph.
 

Detailed Description

A processor to be used in the routing graph for playing samples independent of the timeline.

Also used for auditioning files.

Definition at line 46 of file sample_processor.h.

Field Documentation

◆ audio_engine

AudioEngine* SampleProcessor::audio_engine

Pointer to owner audio engin, if any.

Definition at line 78 of file sample_processor.h.

◆ current_samples

SamplePlayback SampleProcessor::current_samples[256]

An array of samples currently being played.

Definition at line 49 of file sample_processor.h.

◆ fader

Fader* SampleProcessor::fader

Fader connected to the main output.

Definition at line 61 of file sample_processor.h.

◆ file_end_pos

Position SampleProcessor::file_end_pos

Position the file ends at.

Once this position is reached, SampleProcessor.roll will be set to false.

Definition at line 72 of file sample_processor.h.

◆ graph

Graph* SampleProcessor::graph

Temp processing graph.

Definition at line 81 of file sample_processor.h.

◆ instrument_setting

PluginSetting* SampleProcessor::instrument_setting

Instrument for MIDI auditioning.

Definition at line 56 of file sample_processor.h.

◆ midi_events

MidiEvents* SampleProcessor::midi_events

Definition at line 58 of file sample_processor.h.

◆ num_current_samples

int SampleProcessor::num_current_samples

Definition at line 50 of file sample_processor.h.

◆ playhead

Position SampleProcessor::playhead

Playhead for the tracklist (used when auditioning files).

Definition at line 64 of file sample_processor.h.

◆ rebuilding_sem

ZixSem SampleProcessor::rebuilding_sem

Semaphore to be locked while rebuilding the sample processor tracklist and graph.

Definition at line 85 of file sample_processor.h.

◆ roll

bool SampleProcessor::roll

Whether to roll or not.

Definition at line 75 of file sample_processor.h.

◆ tracklist

Tracklist* SampleProcessor::tracklist

Tracklist for file auditioning.

Definition at line 53 of file sample_processor.h.


The documentation for this struct was generated from the following file: