ipytone.PyAudioNode#
- class ipytone.PyAudioNode(**kwargs: Any)#
Bases:
HasTraitsA Pure-Python audio node.
Although it provides the same interface than
AudioNode, it is not aipywidget.Widget. It is materialized in the front-end through its input and/or output nodes, which must correspond toAudioNodeobjects (maybe via some otherPyAudioNodenested objects).This class may be used as a base class to create custom nodes that don’t exist in Tone.js or high-level nodes that are straightforward to implement on top of audio nodes types already available in ipytone.
- __init__(input_node, output_node, **kwargs)#
Methods
chain(*destinations)connect(destination[, output_number, ...])disconnect(destination[, output_number, ...])dispose()fan(*destinations)to_destination()Attributes
channel_countAn int trait.
channel_count_modeAn enum whose value must be in a given sequence.
channel_interpretationAn enum whose value must be in a given sequence.
disposedinputnameA trait for unicode strings.
number_of_inputsnumber_of_outputsoutputReturns the wrapped audio node widget.
- property widget#
Returns the wrapped audio node widget.