OSCtoCV Library
OSCtoCV_Sequencer.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:
- 3:d945a20b1e31
added Beats Seq
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
casiotone401 | 0:cd43a974c54c | 1 | /* |
casiotone401 | 0:cd43a974c54c | 2 | OSCtoCV Shift Sequencer & M185 Sequencer |
casiotone401 | 0:cd43a974c54c | 3 | */ |
casiotone401 | 0:cd43a974c54c | 4 | |
casiotone401 | 0:cd43a974c54c | 5 | #pragma O3 |
casiotone401 | 0:cd43a974c54c | 6 | #pragma Otime |
casiotone401 | 0:cd43a974c54c | 7 | |
casiotone401 | 0:cd43a974c54c | 8 | #ifndef OSCtoCV_SEQUENCER_h |
casiotone401 | 0:cd43a974c54c | 9 | #define OSCtoCV_SEQUENCER_h |
casiotone401 | 0:cd43a974c54c | 10 | |
casiotone401 | 0:cd43a974c54c | 11 | #include "mbed.h" |
casiotone401 | 0:cd43a974c54c | 12 | |
casiotone401 | 0:cd43a974c54c | 13 | |
casiotone401 | 0:cd43a974c54c | 14 | //------------------------------------------------------------- |
casiotone401 | 0:cd43a974c54c | 15 | // Sequencer Functions |
casiotone401 | 0:cd43a974c54c | 16 | |
casiotone401 | 1:981b62bb5c87 | 17 | // Sequence & Shift Out CV sequence cv out ch1 ~ channelRange |
casiotone401 | 1:981b62bb5c87 | 18 | void ShiftCVSeq(int trigger, bool reset, unsigned int channelRange); |
casiotone401 | 1:981b62bb5c87 | 19 | |
casiotone401 | 1:981b62bb5c87 | 20 | // M185 Sequencer sequence cv out ch1 ~ channelRange |
casiotone401 | 1:981b62bb5c87 | 21 | void M185Seq(int trigger, bool reset, unsigned int channelRange); |
casiotone401 | 1:981b62bb5c87 | 22 | |
casiotone401 | 1:981b62bb5c87 | 23 | // Polyphonic CV sequence cv out ch1 ~ channelRange |
casiotone401 | 1:981b62bb5c87 | 24 | void PolyM185Seq(int trigger, bool reset, unsigned int channelRange); |
casiotone401 | 0:cd43a974c54c | 25 | |
casiotone401 | 1:981b62bb5c87 | 26 | // shift cv seq ch1 ~ ch4 m185 seq ch5 ~ ch8 |
casiotone401 | 1:981b62bb5c87 | 27 | void PolyCVSeq(int trigger, bool reset); |
casiotone401 | 1:981b62bb5c87 | 28 | |
casiotone401 | 1:981b62bb5c87 | 29 | // shift cv seq ch1 ~ ch4 m185 seq ch5 ~ ch8 |
casiotone401 | 1:981b62bb5c87 | 30 | void PolyCVSeq(int trigger, bool reset); |
casiotone401 | 0:cd43a974c54c | 31 | |
casiotone401 | 1:981b62bb5c87 | 32 | // 8ch drum track(midi & gate) sequecer // gatesOff(Mute GateOut(midi out only)) |
casiotone401 | 1:981b62bb5c87 | 33 | void BeatsSeq(int trigger, bool reset, bool gatesOff); |
casiotone401 | 1:981b62bb5c87 | 34 | |
casiotone401 | 1:981b62bb5c87 | 35 | // Send Sequencer Status to touchOSC (mode = SHIFTSEQ or M185SEQ or BEATSSEQ) |
casiotone401 | 1:981b62bb5c87 | 36 | inline void SendCtrlState(uint8_t step, uint8_t gateMode, uint8_t stepCount, uint8_t mode); |
casiotone401 | 0:cd43a974c54c | 37 | |
casiotone401 | 0:cd43a974c54c | 38 | |
casiotone401 | 0:cd43a974c54c | 39 | #endif |