cloud

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph cluster_builtins { graph [label=builtins]; node [color=1]; "builtins.object" [URL="https://docs.python.org/3.9/library/functions.html#object", label=object, target=_top]; } subgraph "cluster_pang.cloud" { graph [label="pang.cloud"]; node [color=2]; "pang.cloud.Cloud" [URL="../api/pang/cloud.html#pang.cloud.Cloud", color=black, fontcolor=white, label=Cloud, target=_top]; } "builtins.object" -> "pang.cloud.Cloud"; }


Classes

Cloud

A class to represent a musical Cloud.

class pang.cloud.Cloud(arate=1, srate=1, pitches=[0], duration=1, queue_type='M/M/1', rest_threshold=0.0, seed=982374, voice_names=['Piano_RH_Voice'])

A class to represent a musical Cloud.


Attributes Summary

arrival_instances

arrival_model

durations

durations_in_millesecond

Returns the duration of each note in millesecond (before queue simulation).

durations_msps

Durations in millesecond per server.

durations_per_server

Durations in second per server.

make_cloud

number_of_notes

Returns the number of notes in the cloud.

pitches

pitches_per_server

service_model

voice_names


Methods

make_cloud(*arguments, **keywords)

Read-only properties

arrival_instances
arrival_model
durations
durations_in_millesecond

Returns the duration of each note in millesecond (before queue simulation).

durations_msps

Durations in millesecond per server.

durations_per_server

Durations in second per server.

number_of_notes

Returns the number of notes in the cloud.

pitches
pitches_per_server
service_model
voice_names