Jump to content

Recommended Posts

Posted

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

Posted

Hot tip: MIDI events are sent with "MIDI_EVNT_Send", this is a useful keyword when searching in cs_m_record.inc

Best Regards, Thorsten.

Posted

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

Posted

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...

Posted

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.inc

cs_m_record.inc

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...