libdaw.nodes

class libdaw.nodes.Add
class libdaw.nodes.Callback(node, sample_rate=48000)
add(callable, start=Ellipsis, end=Ellipsis, post=False)
node
class libdaw.nodes.ConstantValue(value)
class libdaw.nodes.Custom

A custom Node.

You can either pass a processing callable into this, assign it to its callable property, or subclass this with a callable. If you subclass this, you must call super().__init__()

callable
class libdaw.nodes.Delay(delay, sample_rate=48000)
class libdaw.nodes.Detune(detune=0.0)
detune
class libdaw.nodes.Envelope(length, envelope, sample_rate=48000)
class libdaw.nodes.Explode
class libdaw.nodes.Gain(gain)
gain
class libdaw.nodes.Graph
connect(source, destination, stream=None)

Connect the given output of the source to the destination. The same output may be attached multiple times. None will attach all outputs.

disconnect(source, destination, stream=None)

Disconnect the last-added matching connection, returning a boolean indicating if anything was disconnected.

input(destination, stream=None)

Connect the given output of the initial input to the destination. The same output may be attached multiple times. None will attach all outputs.

output(source, stream=None)

Connect the given output of the source to the final destinaton. The same output may be attached multiple times. None will attach all outputs.

remove(node)
remove_input(destination, stream=None)

Disconnect the last-added matching connection from the destination, returning a boolean indicating if anything was disconnected.

remove_output(source, stream=None)

Disconnect the last-added matching connection from the source, returning a boolean indicating if anything was disconnected.

class libdaw.nodes.Implode
class libdaw.nodes.Instrument(factory, sample_rate=48000)
add_tone(tone)
class libdaw.nodes.Multiply
class libdaw.nodes.Passthrough