OSCtoCV Library

Dependents:   OSCtoCVConverter

Committer:
casiotone401
Date:
Thu Feb 25 11:21:37 2016 +0000
Revision:
6:7fb15b1b5459
Parent:
5:abe335652add
minor change

Who changed what in which revision?

UserRevisionLine numberNew 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 6:7fb15b1b5459 18 void ShiftCVSeq(int trigger, bool reset, uint8_t channelRange);
casiotone401 1:981b62bb5c87 19
casiotone401 1:981b62bb5c87 20 // M185 Sequencer sequence cv out ch1 ~ channelRange
casiotone401 6:7fb15b1b5459 21 void M185Seq(int trigger, bool reset, uint8_t channelRange);
casiotone401 1:981b62bb5c87 22
casiotone401 1:981b62bb5c87 23 // Polyphonic CV sequence cv out ch1 ~ channelRange
casiotone401 6:7fb15b1b5459 24 void PolyM185Seq(int trigger, bool reset, uint8_t channelRange);
casiotone401 1:981b62bb5c87 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 0:cd43a974c54c 28
casiotone401 3:d945a20b1e31 29 // 8ch drum track(midi & gate) sequecer // gatesOff(Mute GateOut(midi out only)) return triggerState
casiotone401 6:7fb15b1b5459 30 bool BeatsSeq(int trigger, bool reset, bool gatesOff);
casiotone401 1:981b62bb5c87 31
casiotone401 5:abe335652add 32 // check resetCount
casiotone401 6:7fb15b1b5459 33 void CheckResetCount(uint8_t resetCount, uint8_t mode);
casiotone401 5:abe335652add 34
casiotone401 5:abe335652add 35 // check Analog Mode
casiotone401 5:abe335652add 36 void CheckAnalogMode(void);
casiotone401 5:abe335652add 37
casiotone401 1:981b62bb5c87 38 // Send Sequencer Status to touchOSC (mode = SHIFTSEQ or M185SEQ or BEATSSEQ)
casiotone401 1:981b62bb5c87 39 inline void SendCtrlState(uint8_t step, uint8_t gateMode, uint8_t stepCount, uint8_t mode);
casiotone401 0:cd43a974c54c 40
casiotone401 0:cd43a974c54c 41 #endif