-
Notifications
You must be signed in to change notification settings - Fork 0
/
fm_command.h
53 lines (39 loc) · 843 Bytes
/
fm_command.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// fm_command.h
// AVR_FM
//
// Created by Tiago Rezende on 5/15/14.
//
//
#ifndef AVR_FM_fm_command_h
#define AVR_FM_fm_command_h
#include "fm_synth.h"
#include <inttypes.h>
typedef enum {
FM_Idle,
FM_SetChan,
FM_SetOper,
FM_SetNote,
FM_NoteOn,
FM_NoteOff,
FM_SetRaw,
FM_OscSetData,
FM_EnvSetData,
FM_EnvSetRateScaling_AttackRate,
FM_EnvSetLevel,
FM_EnvSetTotalLevel,
FM_EnvSetAmplitudeMod_DecayRate,
FM_EnvSetSustainLevel_ReleaseRate,
FM_EnvSetSustainDecay,
FM_OperSetData,
FM_OperSetDetuneMultiplier,
FM_OperSetIndex,
FM_OperSetOffsetInfluence,
FM_ChanSetData,
FM_ChanSetAlgorithm_Octave,
FM_ChanSetNote,
FM_ChanSetPan,
FM_MIDINoteOn,
} FMCommand;
uint8_t FMCommandReceive(uint8_t command);
#endif