Hey Jacob, On Thu, Sep 23, 2010 at 4:06 PM, Jacob Jennings <[email protected]> wrote: > Hey guys, though I'd keep you updated. Though I haven't yet accomplished > much, I think I have an overall design plan. The keyboard expects the > application to interpret keystrokes like a normal keyboard (you are expected > to know what the active context you have selected should do), and any other > communication with the application must be through a very crude "send X > bytes" sort of a callback. Instead I think I will use C# (silverlight > defines UI, C# does the work) midi libraries to create a sort of software > midi controller, and use the midi scripting functionality in Mixxx that was > recommended by DJ Pegasus.
That sounds reasonably doable in a short amount of time. > Sliders, knobs, toggles, crossfader, pitch, etc. > I was hoping to also be able to customize the keyboard 'hotkeys' a bit, for > example, have the headphone deck select be a single button that would > toggle, and show an icon for deck 1 or deck 2. I am still looking through > how the keyboard configuration file is interpreted in code. I guess what > I'm wondering is if this keyboard configuration could be made dynamic, since > I can't intercept keystrokes. You've probably found this by now, but mixxxkeyboard.cpp is where you want to look. You could probably hack a complete reimplementation of this file to do whatever you want without too many hurdles. > Or perhaps, I could have Mixxx ignore and send the keystrokes back to the > silverlight app, and map them to the very same software midi controller the > touch screen would be manipulating... Now that would be a hack. Once again, > insights welcome, and thanks! That's probably even better in this case, because you can get MIDI feedback from Mixxx this way too. (eg. You can readout the values of Mixxx's internal controls like the EQ knobs via MIDI scripting and display them on the LCD touch area.) > The midi toolkit I was considering using: > http://www.codeproject.com/KB/audio-video/MIDIToolkit.aspx Does Microsoft not have native C# APIs for MIDI access? (I can't find anything in the .NET framework related to MIDI.) If not, then using a wrapper library like MIDIToolkit is your only option. Thanks, and good luck! Albert ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
