Struct sunvox_sys::sunvox_note
[−]
[src]
#[repr(C)]pub struct sunvox_note { pub note: c_uchar, pub vel: c_uchar, pub module: c_uchar, pub nothing: c_uchar, pub ctl: c_ushort, pub ctl_val: c_ushort, }
A single note cell in a pattern.
Fields
note: c_uchar
The note column.
- 0: Nothing.
- 1 to 127 inclusive: A normal note.
- 128+: See the
NOTECMD
constants.
vel: c_uchar
The velocity column (note velocity).
- 0: Empty (default).
- 1 to 129 inclusive: The specified velocity + 1.
module: c_uchar
The module column (module to affect).
- 0: Empty (none).
- 1 to 255 inclusive: The specified module + 1.
nothing: c_uchar
Padding.
ctl: c_ushort
The value of the controller/effect column.
Interpreted as a hexadecimal number, the first two digits are the controller of the selected module to affect, and the last two digits are the number of an effect. Set a pair of digits to zero to ignore that part.
ctl_val: c_ushort
The value of the controller/effect parameter column.
Trait Implementations
impl Clone for sunvox_note
[src]
fn clone(&self) -> sunvox_note
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more