OSCtoCV Library
OSCtoCV_GateSequencer.h@1:981b62bb5c87, 2016-01-28 (annotated)
- Committer:
- casiotone401
- Date:
- Thu Jan 28 11:39:47 2016 +0000
- Revision:
- 1:981b62bb5c87
- Parent:
- 0:cd43a974c54c
- Child:
- 4:fe335dc8d53d
added Beats Seq
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 | 0:cd43a974c54c | 14 | #endif |