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

The note column.

  • 0: Nothing.
  • 1 to 127 inclusive: A normal note.
  • 128+: See the NOTECMD constants.

The velocity column (note velocity).

  • 0: Empty (default).
  • 1 to 129 inclusive: The specified velocity + 1.

The module column (module to affect).

  • 0: Empty (none).
  • 1 to 255 inclusive: The specified module + 1.

Padding.

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.

The value of the controller/effect parameter column.

Trait Implementations

impl Clone for sunvox_note
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for sunvox_note
[src]

Formats the value using the given formatter.