uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
Data Fields
sequencer_channel Struct Reference

State and configuration of a sequencer channel. More...

#include <sequencer.h>

Collaboration diagram for sequencer_channel:
Collaboration graph

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...
 

Detailed Description

State and configuration of a sequencer channel.

A channel has three configuration parameters that have to be specified:

Field Documentation

◆ clock_state

bool sequencer_channel::clock_state

Last known state of the channel's clock.

◆ mode

enum sequencer_channel_mode sequencer_channel::mode

Channel mode (one-shot or continuous)

◆ pattern

enum sequencer_pattern_number sequencer_channel::pattern

Stores the sequencer channel's pattern index.

◆ running

bool sequencer_channel::running

This flag indicates if the sequencer channel is currently running.

◆ speed

uint8_t sequencer_channel::speed

Stores the sequencer channel's speed.

◆ step_index

uint8_t sequencer_channel::step_index

This counter points to the next sequencer step in the channel's pattern.

◆ tick_callback

void(* sequencer_channel::tick_callback) (void)

An event handler for sequencer clock ticks or NULL

◆ wave

struct wave sequencer_channel::wave

An internal waveform used as a clock source for the sequencer channel.


The documentation for this struct was generated from the following file: