Rio Posted October 26, 2007 Report Posted October 26, 2007 In REALTIME MODE or STEP MODE - every note from an external device will be routed to the defined channel to midi-out. Thats allright and useful, but in the case i want set up notes in step mode via external keyboard, while sequence is playing, my suggestion is that incoming notes shouldn't be routed (played) immediately to the device. (at time it's a bit confusing and disturbing listen to the sequence while doing this).So my question: What can i change in code to check whether Sequencer is playing and Step mode is activating to supress routing of incomming notes? The problem is, i havn't skills in ASM -- it should be something like this, abstract in c:if (!(seqplaying && stepmode)) route_recnote();Greets, Rio
stryd_one Posted October 26, 2007 Report Posted October 26, 2007 It could actually be very useful to have this as an option... like you could turn it on and off...I'll take a peek at the code tonight.
TK. Posted October 27, 2007 Report Posted October 27, 2007 Hot tip: MIDI events are sent with "MIDI_EVNT_Send", this is a useful keyword when searching in cs_m_record.incBest Regards, Thorsten.
stryd_one Posted October 28, 2007 Report Posted October 28, 2007 Whoops I must've closed this tab by accident... No open tab, no work was done.. Darn my useless brain, it can't remember anything without a firefox tab or an outlook reminder ;). I'll try and find time tonight.LOL @ your 'tip' (aka 'how to find the answer') , thanks TK! heheheheh
stryd_one Posted October 29, 2007 Report Posted October 29, 2007 Sorry Rio, I have been taking care of some annoying things in the real world... Don't they understand, I have Midiboxen to make? Sheesh!Anyway just touching base so you don't start wondering if I closed the tab again ;) Back soon...
Rio Posted November 1, 2007 Author Report Posted November 1, 2007 ok, after i've done a real short crashcurse in pic assembler and a bit knowledge of c64 asm too, i think i got it (<joke>...wenn man net allet alleene macht ;) hehe</joke>): CS_M_RECORD_NotifyEvent_SLoopSnd ;; Rio Code, check SEQ_RECORD_MODE_STEP and SEQ_STATE_RUN btfsc SEQ_STATE, SEQ_STATE_RUN btfss SEQ_RECORD_MODE, SEQ_RECORD_MODE_STEP ;; endRio Code call MIDI_EVNT_Send Simple and now it works.. In attachment there is the whole cs_m_record.inc file.Best Regards, Rio.cs_m_record.inccs_m_record.inc
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now