33 lines
499 B
C
33 lines
499 B
C
/*
|
|
* Filename: seq.h
|
|
*
|
|
* Description:
|
|
*
|
|
*
|
|
* Version:
|
|
* Created: Thu Oct 31 15:39:38 2019
|
|
* Revision: None
|
|
* Author: Rachel Fae Fox (foxiepaws),fox@foxiepa.ws
|
|
*
|
|
*/
|
|
|
|
#ifndef _H_SEQ
|
|
#define _H_SEQ
|
|
#include <stdbool.h>
|
|
|
|
typedef char midinote;
|
|
typedef struct Seq {
|
|
unsigned int steps;
|
|
unsigned long t;
|
|
unsigned int step;
|
|
unsigned int wait;
|
|
float out;
|
|
void(*run)(struct Seq*);
|
|
midinote *notes;
|
|
} Seq;
|
|
|
|
Seq* seq_new();
|
|
void seq_run(Seq*);
|
|
|
|
#endif
|