OSCtoCV Library
OSCtoCV_GateSequencer.h@4:fe335dc8d53d, 2016-02-16 (annotated)
- Committer:
- casiotone401
- Date:
- Tue Feb 16 11:31:12 2016 +0000
- Revision:
- 4:fe335dc8d53d
- Parent:
- 1:981b62bb5c87
- Child:
- 6:7fb15b1b5459
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 | 1:981b62bb5c87 | 13 | int GateSeq(unsigned int bpm, unsigned int beat, unsigned int ch, float length, bool invert, bool gatesOff, bool syncoff); |
casiotone401 | 4:fe335dc8d53d | 14 | |
casiotone401 | 0:cd43a974c54c | 15 | #endif |