providers

class BufferProxy(provider: 'Provider', identifier: Union[ForwardRef('supriya.nonrealtime.Buffer'), int], channel_count: Optional[int] = None, frame_count: Optional[int] = None, file_path: Optional[str] = None, starting_frame: Optional[int] = None)

Bases: object

__float__()
__int__()
as_allocate_request()
as_free_request()
close()
free()
normalize(new_maximum=1.0)
read(file_path, leave_open=False)
write(file_path, frame_count=None, header_format='aiff', leave_open=False, sample_format='int24', starting_frame=None)
class BusGroupProxy(provider: 'Provider', calculation_rate: supriya.enums.CalculationRate, channel_count: int, identifier: Union[ForwardRef('supriya.nonrealtime.BusGroup'), int])

Bases: supriya.providers.Proxy

__float__()
__getitem__(item)
__int__()
__len__()
__post_init__()
free()
class BusProxy(provider: 'Provider', calculation_rate: supriya.enums.CalculationRate, identifier: Union[ForwardRef('supriya.nonrealtime.Bus'), int])

Bases: supriya.providers.Proxy

__float__()
__int__()
free()
property map_symbol
set_(value)
class GroupProxy(provider: 'Provider', identifier: Union[ForwardRef('supriya.nonrealtime.Node'), int])

Bases: supriya.providers.NodeProxy

as_add_request(add_action, target_node)
as_free_request(force=False)
class NodeProxy(provider: 'Provider', identifier: Union[ForwardRef('supriya.nonrealtime.Node'), int])

Bases: supriya.providers.Proxy

__float__()
__int__()
__setitem__(key, value)
add_group(*, add_action: int = AddAction.ADD_TO_HEAD, name: Optional[str] = None) supriya.providers.GroupProxy
add_synth(*, synthdef: Optional[supriya.synthdefs.synthdefs.SynthDef] = None, add_action: int = AddAction.ADD_TO_HEAD, name: Optional[str] = None, **settings) supriya.providers.SynthProxy
as_move_request(add_action: supriya.enums.AddAction, target_node: supriya.providers.NodeProxy) supriya.commands.movement.MoveRequest
as_set_request(**settings)
dispose()
free()
move(add_action: supriya.enums.AddAction, target_node: supriya.providers.NodeProxy)
class NonrealtimeProvider(session, latency=0.1)

Bases: supriya.providers.Provider

add_buffer(*, channel_count: Optional[int] = None, file_path: Optional[str] = None, frame_count: Optional[int] = None, starting_frame: Optional[int] = None) supriya.providers.BufferProxy
add_bus(calculation_rate=CalculationRate.CONTROL) supriya.providers.BusProxy
add_bus_group(channel_count=1, calculation_rate=CalculationRate.CONTROL) supriya.providers.BusGroupProxy
add_group(*, target_node=None, add_action=AddAction.ADD_TO_HEAD, name: Optional[str] = None) supriya.providers.GroupProxy
add_synth(*, synthdef: Optional[supriya.synthdefs.synthdefs.SynthDef] = None, target_node=None, add_action=AddAction.ADD_TO_HEAD, name: Optional[str] = None, **settings) supriya.providers.SynthProxy
boot(**kwargs)
dispose(node_proxy: supriya.providers.NodeProxy)
free_buffer(buffer_: supriya.providers.BufferProxy)
free_bus(bus: supriya.providers.BusProxy)
free_bus_group(bus_group: supriya.providers.BusGroupProxy)
free_node(node_proxy: supriya.providers.NodeProxy)
move_node(node_proxy: supriya.providers.NodeProxy, add_action: supriya.enums.AddAction, target_node: Union[supriya.providers.NodeProxy, supriya.nonrealtime.nodes.Node])
quit()
register_osc_callback(pattern: Tuple[Union[str, float], ...], procedure: Callable) supriya.providers.OscCallbackProxy
set_bus(bus_proxy: supriya.providers.BusProxy, value: float)
set_node(node_proxy: supriya.providers.NodeProxy, **settings)
unregister_osc_callback(proxy: supriya.providers.OscCallbackProxy)
class OscCallbackProxy(provider: 'Provider', identifier: Any)

Bases: supriya.providers.Proxy

unregister()
class Provider(latency=0.1)

Bases: object

Provides limited realtime/non-realtime compatibility layer.

abstract add_buffer(*, channel_count: Optional[int] = None, file_path: Optional[str] = None, frame_count: Optional[int] = None, starting_frame: Optional[int] = None) supriya.providers.BufferProxy
abstract add_bus(calculation_rate=CalculationRate.CONTROL) supriya.providers.BusProxy
abstract add_bus_group(channel_count=1, calculation_rate=CalculationRate.CONTROL) supriya.providers.BusGroupProxy
abstract add_group(*, target_node=None, add_action=AddAction.ADD_TO_HEAD, name: Optional[str] = None) supriya.providers.GroupProxy
abstract add_synth(*, synthdef: Optional[supriya.synthdefs.synthdefs.SynthDef] = None, target_node=None, add_action=AddAction.ADD_TO_HEAD, name: Optional[str] = None, **settings) supriya.providers.SynthProxy
property annotation_map: Mapping[Union[supriya.nonrealtime.nodes.Node, int], str]
at(seconds=None, wait=False)
abstract boot(**kwargs)
abstract dispose(node_proxy: supriya.providers.NodeProxy)
abstract free_buffer(buffer_proxy)
abstract free_bus(bus_proxy: supriya.providers.BusProxy)
abstract free_bus_group(bus_group_proxy: supriya.providers.BusGroupProxy)
abstract free_node(node_proxy: supriya.providers.NodeProxy)
classmethod from_context(context, latency=0.1) supriya.providers.Provider
property latency
property moment: Optional[supriya.providers.ProviderMoment]
abstract move_node(node_proxy: supriya.providers.NodeProxy, add_action: supriya.enums.AddAction, target_node: supriya.providers.NodeProxy)
classmethod nonrealtime() supriya.providers.NonrealtimeProvider
abstract quit()
classmethod realtime(scsynth_path=None, options=None, port=None, **kwargs) supriya.providers.RealtimeProvider
async classmethod realtime_async(scsynth_path=None, options=None, port=None, **kwargs) supriya.providers.RealtimeProvider
abstract register_osc_callback(pattern: Tuple[Union[str, float], ...], procedure: Callable) supriya.providers.OscCallbackProxy
property server: supriya.realtime.servers.Server
property session: supriya.nonrealtime.sessions.Session
abstract set_bus(bus_proxy: supriya.providers.BusProxy, value: float)
abstract set_node(node_proxy: supriya.providers.NodeProxy, **settings)
abstract unregister_osc_callback(proxy: supriya.providers.OscCallbackProxy)
class ProviderMoment(provider: 'Provider', seconds: float, bus_settings: List[Tuple[supriya.providers.BusProxy, float]] = <factory>, buffer_additions: List[supriya.providers.BufferProxy] = <factory>, buffer_removals: List[supriya.providers.BufferProxy] = <factory>, node_reorderings: List[Tuple[supriya.providers.NodeProxy, supriya.enums.AddAction, supriya.providers.NodeProxy]] = <factory>, node_additions: List[Tuple[supriya.providers.NodeProxy, supriya.enums.AddAction, supriya.providers.NodeProxy]] = <factory>, node_removals: List[supriya.providers.NodeProxy] = <factory>, node_settings: List[Tuple[supriya.providers.NodeProxy, Dict[str, Union[float, supriya.providers.BusGroupProxy]]]] = <factory>, wait: bool = False)

Bases: object

async __aenter__()
async __aexit__(*args)
__enter__()
__exit__(*args)
class Proxy(provider: 'Provider')

Bases: object

class RealtimeProvider(server, latency=0.1)

Bases: supriya.providers.Provider

add_buffer(*, channel_count: Optional[int] = None, file_path: Optional[str] = None, frame_count: Optional[int] = None, starting_frame: Optional[int] = None) supriya.providers.BufferProxy
add_bus(calculation_rate=CalculationRate.CONTROL) supriya.providers.BusProxy
add_bus_group(channel_count=1, calculation_rate=CalculationRate.CONTROL) supriya.providers.BusGroupProxy
add_group(*, target_node=None, add_action=AddAction.ADD_TO_HEAD, name: Optional[str] = None) supriya.providers.GroupProxy
add_synth(*, synthdef: Optional[supriya.synthdefs.synthdefs.SynthDef] = None, target_node=None, add_action=AddAction.ADD_TO_HEAD, name: Optional[str] = None, **settings) supriya.providers.SynthProxy
boot(**kwargs)
dispose(node_proxy: supriya.providers.NodeProxy)
free_buffer(buffer_: supriya.providers.BufferProxy)
free_bus(bus_proxy: supriya.providers.BusProxy)
free_bus_group(bus_group_proxy: supriya.providers.BusGroupProxy)
free_node(node_proxy: supriya.providers.NodeProxy)
move_node(node_proxy: supriya.providers.NodeProxy, add_action: supriya.enums.AddAction, target_node: supriya.providers.NodeProxy)
quit()
register_osc_callback(pattern: Tuple[Union[str, float], ...], procedure: Callable) supriya.providers.OscCallbackProxy
set_bus(bus_proxy: supriya.providers.BusProxy, value: float)
set_node(node_proxy: supriya.providers.NodeProxy, **settings)
unregister_osc_callback(proxy: supriya.providers.OscCallbackProxy)
class SynthProxy(provider: 'Provider', identifier: Union[ForwardRef('supriya.nonrealtime.Node'), int], synthdef: supriya.synthdefs.synthdefs.SynthDef, settings: Dict[str, Union[float, supriya.providers.BusGroupProxy]])

Bases: supriya.providers.NodeProxy

as_add_request(add_action, target_node)
as_free_request(force=False)