Hi Jan,
Hate to keep using the mixxx listserv like this but everything I send
directly to you gets bounced back.
I'm trying to figure out what the buttons are doing using your dm2.h
but I'm lost on some parts.
1. Which preset is mixxx using? I'm assuming the first.
2. Can you explain what these refer to
// Mid button up/down keys, on-release keys
.midup0 = 65,
.midup1 = 65,
.middown0 = 66,
.middown1 = 66,
.midrel0 = 67,
.midrel1 = 68,
// Exclusive mode? (only one param at a time)
.excl0 = 1, .excl1 = 1,
I'm assuming that exclusive mode means that only one LED button being
held down at a time will send a CC value.
3. On the following, which wheel is 0 and which is 1? and also when do
you send notes and when CC (params here i'm guessing) ?
// NW W SW S SE E NE N
.wheel0notes = { 16, 17, 18, 0, 20, 21, 22, 0 },
.wheel0params = { 16, 17, 18, 0, 20, 21, 22, 23 },
.wheel1notes = { 32, 33, 34, 0, 36, 37, 38, 0 },
.wheel1params = { 32, 33, 34, 0, 36, 37, 38, 39 },
Do you mean when you're holding that LED button and spinning the
wheel it's sending that CC value?
4. What are .led0idle = 88, .led1idle = 89 used for? Is this how
you're switching back to clock mode?
I think that's it for now. This is all that's missing from my OS X
clone for your DM2 Mixxx config.Thanks.
-Joe
On Feb 19, 2008, at 4:21 AM, Jan Jockusch wrote:
> Hi Joe,
>
> I'm writing this to the list, because my direct mail was rejected by
> your mail server. I'm attaching the current DM2 driver for Linux
> to you, maybe as a reference, as an inspiration or as a guide of how
> not
> to do it... that's up to you. The driver was developed by Andre
> Roth and myself. It integrates very well with mixxx, and maybe
> you would like to take a closer look at it...
>
> I have tried to code the DM2 specific parts separately from the Linux
> specific parts (USB communication and MIDI emulation). The driver does
> much more than just sendi keypresses and keyreleases for the buttons
> and
> control changes for the wheels, fader and joystick. As a main feature,
> it uses the LED buttons and the wheels to multiplex into many
> controls. The "south" key on the respective wheel can be used to
> center
> the multiplexed controls, which is otherwise very difficult to do
> accurately.
>
> As a secondary feature, I thought it would be cool to scroll through
> the
> playlist with the wheels, so I implemented this: Hold the middle
> button,
> turn one of the wheels (sends pulses of MIDI keypresses, one key for
> up,
> one for down). Release the middle key (sends another MIDI key, but
> only
> if a wheel has been turned). DM2.midi.xml uses this to load a track
> into
> the respective player.
>
> In my default Mixxx configuration, each wheel can be shifted into low,
> mid, and high control (hold a LED button) and kill (press and
> release a
> LED button). Similarly, holding a LED button will make the wheel
> regulate the pitch, prefader gain and fader. Pressing and immediately
> releasing two buttons does fine-tuning of the pitch.
>
> The non-LED buttons do nothing special. Just MIDI buttons, and the
> fader
> and joystick are simple MIDI controls centered around 63. The lower
> four
> buttons do: left headphone, left sync, right sync, right headphone.
> "A"
> and "B" buttons do the cue. Center wheel buttons do play/pause. The
> LEDs
> have a rotating light feature when a MIDI keypress is sent from Mixxx,
> so the rotating platters have a rotating light too...
>
> The fader and joystick code may be interesting for you. The fader and
> joystick are auto-centering and auto-calibrating, provided that they
> are
> all centered at MIDI reset or power-up. They also have a small
> (configurable) dead zone so that they center properly.
>
> If this interests you, I can translate the default configuration in
> dm2.h together with DM2.midi.xml into a human readable map of which
> function I put where.
>
> Hope this helps, contact me if you miss any information!
>
> - Ján
>
>
>> Hi,
>>
>> I'm currently developing the MixMan DM2 driver for OS X
>> http://www.joemattiello.com/dm2/
>> . I'm trying to get the 1.0 release out soon and would like to
>> incorporate Mixxx into the built-in configurations.
>> I want to mimic the DM2 setup for other OS's but I'm not quite
>> sure which setup the included .xml file in the 1.6 beta is for.
>> There seems to be a few different versions of a Linux driver as
>> well as DM2MIDI for Windows.
>>
>> I can of course send the same messages as listed in the .xml file,
>> but I don't know which physical buttons those actions are mapped
>> to on the hardware itself. I would appreciate if someone who uses
>> the DM2 with Mixxx on a different platform could give me a quick
>> overview of how the mappings correlate to the hardware. Thanks.
>>
>> -Joe Mattiello
>>
>>
>
> <dm2-
> pre20080219
> .tgz
> >
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel