You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a high-level representation of the graph of audio nodes that doesn't contain all the internal nodes (and their connections) defined within the audio nodes.
API
By default, all new connections are considered as high-level. A context manager may help in temporarily disabling this behavior, e.g.,
classMyAudioNode(ipytone.PyAudioNode):
def__init__(self, **kwargs):
in_node=Gain()
out_node=Gain()
super().__init__(in_node, out_node, **kwargs)
withself._graph.at_low_level():
# all connections here will be at low-levelin_node.connect(out_node)
Implementation
For example, add a tag low_level=True to audio graph connections.
The text was updated successfully, but these errors were encountered:
It would be nice to have a high-level representation of the graph of audio nodes that doesn't contain all the internal nodes (and their connections) defined within the audio nodes.
By default, all new connections are considered as high-level. A context manager may help in temporarily disabling this behavior, e.g.,
For example, add a tag
low_level=True
to audio graph connections.The text was updated successfully, but these errors were encountered: