as for "wiring up" first u need to teach it about the mpd u have using learn.exe which will then create you a file like "devices/my-mpd.lua"
then u need to create one for reason in devices/reason.lua which contains the midi u want to send out and what to call them, simpler than it sounds, have a look at devices/traktor.lua for how i do that - at least u don't need to create a matching tsi 
create a virtual midi device called something like "MM to Reason" - i guess u only need communication from the mpd to reason and not vice versa?
then in your config/reason.lua (which is the file you'll tell midimasher to load) you'd need these 2 lines to attach the 2 devices:
Code:
open_midi_device("reason", "reason", "", "MM to Reason");
open_midi_device("mpd", "my-mpd", "MPD-midi-devname", "MPD-midi-devname", 6);
then u can add various pipe() calls to pipe data from any pad/page of the mpd to what u want to send to reason
you'd ofc need some way to "change page/layer" from your mpd, i can help u with that. you could use some fader or pot but a button or two would be easier. even simpler would be to use the top 4 pads "midi fighter 4 banks style". in fact if u did that u wouldn't even need to "teach" midimasher what midi u want to send to reason - just make your mpd emulate a midi fighter and then map that midi to reason. probably the simplest.
then in theory a config like this would be all u need:
Code:
open_midi_device("reason", "generic", "", "MM to Reason");
open_midi_device("mpd", "my-mpd", "MPD-midi-devname", "MPD-midi-devname", 6);
virtual_midifighter_4banks("mpd", 0, "reason", 0, 0, 127, 0)
you'd still need to run learn.exe to create that devices/my-mpd.lua file
running debug.bat would be helpfull as you'd then see if midimasher is doing what it should be
Bookmarks