struct BoolMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
BoolMessage Functions¶
struct BoolMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | Bool |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct BoolsMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
BoolsMessage Functions¶
struct BoolsMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | List |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct FloatMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
FloatMessage Functions¶
struct FloatMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | Float64 |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct FloatsMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
FloatsMessage Functions¶
struct FloatsMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | List |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct IntMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
IntMessage Functions¶
struct IntMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | Int64 |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct IntsMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
IntsMessage Functions¶
struct IntsMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | List |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct StringMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
StringMessage Functions¶
struct StringMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | String |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct StringsMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
StringsMessage Functions¶
struct StringsMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | List |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct TrigsMessage¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
TrigsMessage Functions¶
struct TrigsMessage . fn init¶
fn init Signature
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| value | List |
— | — |
fn init Returns
: Self
Static Method
This is a static method.
struct MessengerManager¶
Traits: AnyType, Copyable, Movable, UnknownDestructibility
MessengerManager Functions¶
struct MessengerManager . fn init¶
struct MessengerManager . fn update_bool_msg¶
fn update_bool_msg Signature
fn update_bool_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | Bool |
— | — |
struct MessengerManager . fn update_bools_msg¶
fn update_bools_msg Signature
fn update_bools_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | List |
— | — |
struct MessengerManager . fn update_float_msg¶
fn update_float_msg Signature
fn update_float_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | Float64 |
— | — |
struct MessengerManager . fn update_floats_msg¶
fn update_floats_msg Signature
fn update_floats_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | List |
— | — |
struct MessengerManager . fn update_int_msg¶
fn update_int_msg Signature
fn update_int_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | Int64 |
— | — |
struct MessengerManager . fn update_ints_msg¶
fn update_ints_msg Signature
fn update_ints_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | List |
— | — |
struct MessengerManager . fn update_string_msg¶
fn update_string_msg Signature
fn update_string_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | String |
— | — |
struct MessengerManager . fn update_strings_msg¶
fn update_strings_msg Signature
fn update_strings_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | List |
— | — |
struct MessengerManager . fn update_trig_msg¶
fn update_trig_msg Signature
fn update_trig_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
struct MessengerManager . fn update_trigs_msg¶
fn update_trigs_msg Signature
fn update_trigs_msg Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
| value | List |
— | — |
struct MessengerManager . fn transfer_msgs¶
struct MessengerManager . fn get_bool¶
fn get_bool Signature
fn get_bool Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_bool Returns
: Optional
Raises
struct MessengerManager . fn get_bools¶
fn get_bools Signature
fn get_bools Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_bools Returns
: Optional
Raises
struct MessengerManager . fn get_float¶
fn get_float Signature
fn get_float Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_float Returns
: Optional
Raises
struct MessengerManager . fn get_floats¶
fn get_floats Signature
fn get_floats Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_floats Returns
: Optional
Raises
struct MessengerManager . fn get_int¶
fn get_int Signature
fn get_int Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_int Returns
: Optional
Raises
struct MessengerManager . fn get_ints¶
fn get_ints Signature
fn get_ints Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_ints Returns
: Optional
Raises
struct MessengerManager . fn get_string¶
fn get_string Signature
fn get_string Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_string Returns
: Optional
Raises
struct MessengerManager . fn get_strings¶
fn get_strings Signature
fn get_strings Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_strings Returns
: Optional
Raises
struct MessengerManager . fn get_trig¶
fn get_trig Signature
fn get_trig Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_trig Returns
: Bool
struct MessengerManager . fn get_trigs¶
fn get_trigs Signature
fn get_trigs Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| key | String |
— | — |
fn get_trigs Returns
: Optional
Raises
struct MessengerManager . fn empty_msg_dicts¶
struct MMMWorld¶
Traits: AnyType, Copyable, Movable, Representable, UnknownDestructibility
MMMWorld Functions¶
struct MMMWorld . fn init¶
fn init Signature
__init__(out self, sample_rate: Float64 = 48000, block_size: Int64 = 64, num_in_chans: Int64 = 2, num_out_chans: Int64 = 2)
fn init Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| sample_rate | Float64 |
48000 |
— |
| block_size | Int64 |
64 |
— |
| num_in_chans | Int64 |
2 |
— |
| num_out_chans | Int64 |
2 |
— |
fn init Returns
: Self
Static Method
This is a static method.
struct MMMWorld . fn set_channel_count¶
fn set_channel_count Signature
fn set_channel_count Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| num_in_chans | Int64 |
— | — |
| num_out_chans | Int64 |
— | — |
struct MMMWorld . fn print¶
fn print Signature
print[*Ts: Writable](self, *values: *Ts, *, n_blocks: UInt16 = 10, sep: StringSlice[StaticConstantOrigin] = " ", end: StringSlice[StaticConstantOrigin] = "\n")
fn print Parameters
| Name | Type | Description |
|---|---|---|
| *Ts | Writable |
— |
fn print Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| *values | *Ts |
— | — |
| n_blocks | UInt16 |
10 |
— |
| sep | StringSlice |
" " |
— |
| end | StringSlice |
"\n" |
— |
Documentation generated with mojo doc from Mojo version 0.25.6.1