OSCtoCV Library
OSCtoCV_GateSequencer.h@0:cd43a974c54c, 2016-01-17 (annotated)
- Committer:
- casiotone401
- Date:
- Sun Jan 17 09:30:32 2016 +0000
- Revision:
- 0:cd43a974c54c
- Child:
- 1:981b62bb5c87
added random, lfo mode
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 | 0:cd43a974c54c | 13 | int GateSeq(int bpm, int beat, int ch, int length, bool invert, bool gatesoff, bool syncoff); |
casiotone401 | 0:cd43a974c54c | 14 | |
casiotone401 | 0:cd43a974c54c | 15 | #endif |