dawdreamer.PlaybackProcessor

class dawdreamer.PlaybackProcessor

The Playback Processor can play audio data provided as an argument.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_audio(self)

Get the audio data of the processor after a render, assuming recording was enabled.

get_automation(*args, **kwargs)

Overloaded function.

get_name(self)

Get the user-defined name of a processor instance.

get_num_input_channels(self)

Get the total number of input channels (2 indicates stereo input).

get_num_output_channels(self)

Get the total number of output channels (2 indicates stereo output).

set_automation(self, parameter_name, data, *)

Set a parameter's automation with a numpy array.

set_data(self, data)

Set the audio as a numpy array shaped (Channels, Samples).

Attributes

record

Whether recording of this processor is enabled.

record_automation

Whether recording of this processor's automation is enabled.