OSCtoCV Library
OSCtoCV_GateSequencer.h@6:7fb15b1b5459, 2016-02-25 (annotated)
- Committer:
- casiotone401
- Date:
- Thu Feb 25 11:21:37 2016 +0000
- Revision:
- 6:7fb15b1b5459
- Parent:
- 4:fe335dc8d53d
minor change
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
casiotone401 | 0:cd43a974c54c | 1 | #ifndef OSCtoCV_GATESEQUENCER_h |
casiotone401 | 0:cd43a974c54c | 2 | #define OSCtoCV_GATESEQUENCER_h |
casiotone401 | 0:cd43a974c54c | 3 | |
casiotone401 | 0:cd43a974c54c | 4 | #pragma O3 |
casiotone401 | 0:cd43a974c54c | 5 | #pragma Otime |
casiotone401 | 0:cd43a974c54c | 6 | |
casiotone401 | 0:cd43a974c54c | 7 | #include "mbed.h" |
casiotone401 | 0:cd43a974c54c | 8 | |
casiotone401 | 0:cd43a974c54c | 9 | //------------------------------------------------------------- |
casiotone401 | 0:cd43a974c54c | 10 | // Gate Sequencer Functions |
casiotone401 | 0:cd43a974c54c | 11 | |
casiotone401 | 0:cd43a974c54c | 12 | // Gate Sequencer beat(Note values) length(Gate time) invert(invert Gate) gateoff, syncoff(Mute, SyncOut GateOut) |
casiotone401 | 6:7fb15b1b5459 | 13 | int GateSeq(uint16_t bpm, uint16_t beat, uint8_t ch, float length, bool invert, bool gatesOff, bool syncoff); |
casiotone401 | 4:fe335dc8d53d | 14 | |
casiotone401 | 0:cd43a974c54c | 15 | #endif |