a quick attempt at a step-by-step to achieve what - I assume - you want.
What we are doing here is: create a rack in Cantabile that
- receives MIDI notes from wherever in your song (physical MIDI input; media player, whatever…)
- sends MIDI to your D50
- receives audio from your D50 via your Lexicon audio interface
- feeds that audio out from your rack’s audio output so you can use it within your song
How to do this:
- if you use your D50 as a control keyboard for your Cantabile setup, then set your D50 to “local off”, so that hitting any note does not make sounds on the D50, but only sends MIDI to its MIDI out
- In Cantabile’s MIDI settings, create a MIDI Output port that is assigned to the physical MIDI port your D50 is attached to (your Omega’s MIDI Out, probably) - call it “D50”
- If you use your D50 as control keyboard, you’ve probably got its corresponding MIDI input port (Omega MIDI In?) assigned to “Main Keyboard” - that’s good; leave it like that
- In Cantabile’s Audio Settings, create a Stereo Input port; call it “D50 Audio In” and assign it to the Omega’s input pair that your D50 is connected to.
- Create a rack called “D50” and open it for editing.
- Create a (MIDI) route from “Rack: MIDI In” to “Output Port - D50”
- Create another route (Audio) from “D50 Audio In” to “Output Port - Rack: Stereo Out”
Save the rack.
Now, any MIDI that you send to the rack gets sent directly to your D50 (make sure that you’ve got the MIDI channel set correctly; if needed use a MIDI Filter to re-map channels). Your D50 should now create noise. This noise is captured by the Omega’s input port and is now within the rack. Your route now sends this audio to the rack’s Stereo out port, so you can blend it with everything else in your song via the rack’s level fader.
You can even add plugin effects within your D50 rack and process your D50’s output before it leaves the rack (and using rack states use different settings - presets - for this plugin). As an example, I’ve inserted an EQ between the audio coming from your D50 and the rack audio out:
Next: if you want to automatically select presets in your D50 by selecting rack states, create a “song state load” trigger within your D50 rack that sends a program change to your D50 (make sure you have the right MIDI channel selected). Also make sure that State Behavior for this trigger has “Action” ticked. Now you can create different states in your rack that have different values for the program change in this trigger. Every time you change the rack state of your D50 rack, the respective program change will be sent to your D50.
If you want to check out what data gets sent to your D50 (so you can see where in your setup something is not working right), I suggest Brad’s built-in MIDI monitor: In your rack’s Routing page, select the route from Rack MIDI IN to D50 and then select “View->MIDI Monitor…” in your main menu. A MIDI monitor window opens and displays any MIDI data sent through this route. Now play your keyboard and see what gets sent to D50 or if things are getting lost on the way: