dawdreamer.FilterProcessor

class dawdreamer.FilterProcessor

A Filter Processor applies one of several kinds of filters. The filter cutoff, Q-value and gain can be adjusted, but the filter mode cannot under automation.

__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.

Attributes

frequency

The frequency cutoff in Hz.

gain

The gain parameter only matters when the mode is low_shelf or high_shelf.

mode

Choose from "low", "high", "band", "low_shelf", "high_shelf", "notch".

q

The Q-value.

record

Whether recording of this processor is enabled.

record_automation

Whether recording of this processor's automation is enabled.