MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> Latch / Toggle mapping/script?
(Message started by: MonkeyDrummer on Mar 4th, 2008, 1:13am)

Title: Latch / Toggle mapping/script?
Post by MonkeyDrummer on Mar 4th, 2008, 1:13am
I've done some searching and I can't find what I'm looking for...

I have MidiOX and MidiYoke on an XP machine. Midi interface is a M-Audio Midisport2x2.

I've got a Roland TD6V drum module/set and a Roland SPD-6 6 pad trigger.

The SPD is very limited in terms of it's midi capabilities, but with midiox that's no big deal. I can create chords, remap channels to various melodic channels on the TD6, etc. Very cool...

However, one thing is eluding me...

I want to set it up so that when I hit a pad on the SPD6 that it sends a NoteOn with the first hit, and on the second hit it sends a noteOff. I think this is called a latch mode or toggle mode with devices that have it built in like the Alternate Mode DrumKat products.

So, If I can get MidiOx to allow this latch mode (I want to trigger things like pad sweeps, long loops, etc. and be able to turn them on and off) then my fairly lame SPD-6 will be almost as useful as a $700 DrumKat (albeit with only 6 pads but hey...)

1) Is this possible in MidiOX? I can't figure out how without some kind of if/then logic
2) which leads to the next part, could this be done with scripting? If so how?

Title: Re: Latch / Toggle mapping/script?
Post by Peter L Jones on Mar 5th, 2008, 2:33pm
Don't think in terms of "if/then" with MIDI OX.  Think in terms only of current state...

You could do it with a fairly cumbersome arrangement:
1) Set up two data maps
1a) data map 1 passes the note on through but also sends through a patch change #1.
1b) data map 2 swaps the note on for a note off and additionally sends a patch change #2
2) Set up a patch map such that
2a) receiving patch change #1 switches to data map 2
2b) receiving patch change #2 switches to data map 1
Just don't use patch changes #1 and #2 for anything else...

You could do it with scripting but I don't touch that.

Or does the DK10 have latch mode?  They're cheaper than the DrumKats and come up more often on eBay... :)



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.