|
uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
|
State and configuration of a sequencer channel. More...
#include <sequencer.h>

Data Fields | |
| enum sequencer_pattern_number | pattern |
| Stores the sequencer channel's pattern index. More... | |
| uint8_t | speed |
| Stores the sequencer channel's speed. More... | |
| enum sequencer_channel_mode | mode |
| Channel mode (one-shot or continuous) More... | |
| bool | running |
| This flag indicates if the sequencer channel is currently running. More... | |
| uint8_t | step_index |
| This counter points to the next sequencer step in the channel's pattern. More... | |
| struct wave | wave |
| An internal waveform used as a clock source for the sequencer channel. More... | |
| bool | clock_state |
| Last known state of the channel's clock. More... | |
| void(* | tick_callback )(void) |
An event handler for sequencer clock ticks or NULL More... | |
State and configuration of a sequencer channel.
A channel has three configuration parameters that have to be specified:
| bool sequencer_channel::clock_state |
Last known state of the channel's clock.
| enum sequencer_channel_mode sequencer_channel::mode |
Channel mode (one-shot or continuous)
| enum sequencer_pattern_number sequencer_channel::pattern |
Stores the sequencer channel's pattern index.
| bool sequencer_channel::running |
This flag indicates if the sequencer channel is currently running.
| uint8_t sequencer_channel::speed |
Stores the sequencer channel's speed.
| uint8_t sequencer_channel::step_index |
This counter points to the next sequencer step in the channel's pattern.
| void(* sequencer_channel::tick_callback) (void) |
An event handler for sequencer clock ticks or NULL
| struct wave sequencer_channel::wave |
An internal waveform used as a clock source for the sequencer channel.
1.8.13