Page 2 of 2

Re: Connecting a MIDI Controller

Posted: 05 Jan 2013 15:06
by Michiel Bouwmeester
Unfortunally this does not work.

When I look in the monitor i do see the trigger.
It looks like it does always go to 0.

Midi Monitor:
MSG: 0xE0 0x00 0x00 [Channel 0 PitchBend PitchBend=0]
CMD: Status = 0xE0, Data1 = 0x00, Data2 = Any
MIXER_OUTPUT_VOLUME_SET DJ A|0

CMD: Status = 0xE0, Data1 = 0x00, Data2 = Any
MIXER_OUTPUT_VOLUME_SET DJ A|0.51181102
As you can see this one works, but that is becasue the midi1 bite is 0x00.

When i move the fader up:
MSG: 0xE0 0x43 0x01 [Channel 0 PitchBend PitchBend=195]
MSG: 0xE0 0x06 0x03 [Channel 0 PitchBend PitchBend=390]
MSG: 0xE0 0x0A 0x05 [Channel 0 PitchBend PitchBend=650]
MSG: 0xE0 0x0E 0x07 [Channel 0 PitchBend PitchBend=910]
MSG: 0xE0 0x53 0x09 [Channel 0 PitchBend PitchBend=1235]
MSG: 0xE0 0x18 0x0C [Channel 0 PitchBend PitchBend=1560]
MSG: 0xE0 0x1C 0x0E [Channel 0 PitchBend PitchBend=1820]
MSG: 0xE0 0x22 0x11 [Channel 0 PitchBend PitchBend=2210]
and so on to the max level

Only when the midi 1 byte is 0x00 the fader will move.
The problem is dat the midi1 changes along with the fader movement.

In the general setting the Ă„Uto Pai Midi Messages" is set.

Re: Connecting a MIDI Controller

Posted: 05 Jan 2013 15:17
by Michiel Bouwmeester
Here is the exact data the midi panel gives to PF when the fader goes from 0% to 100%.
It is copied from the midi monitor in PF.

MSG: 0xE0 0x02 0x01 [Channel 0 PitchBend PitchBend=130]
MSG: 0xE0 0x04 0x02 [Channel 0 PitchBend PitchBend=260]
MSG: 0xE0 0x08 0x04 [Channel 0 PitchBend PitchBend=520]
MSG: 0xE0 0x49 0x04 [Channel 0 PitchBend PitchBend=585]
MSG: 0xE0 0x4B 0x05 [Channel 0 PitchBend PitchBend=715]
MSG: 0xE0 0x0C 0x06 [Channel 0 PitchBend PitchBend=780]
MSG: 0xE0 0x4D 0x06 [Channel 0 PitchBend PitchBend=845]
MSG: 0xE0 0x10 0x08 [Channel 0 PitchBend PitchBend=1040]
MSG: 0xE0 0x53 0x09 [Channel 0 PitchBend PitchBend=1235]
MSG: 0xE0 0x16 0x0B [Channel 0 PitchBend PitchBend=1430]
MSG: 0xE0 0x1A 0x0D [Channel 0 PitchBend PitchBend=1690]
MSG: 0xE0 0x5F 0x0F [Channel 0 PitchBend PitchBend=2015]
MSG: 0xE0 0x63 0x11 [Channel 0 PitchBend PitchBend=2275]
MSG: 0xE0 0x67 0x13 [Channel 0 PitchBend PitchBend=2535]
MSG: 0xE0 0x6B 0x15 [Channel 0 PitchBend PitchBend=2795]
MSG: 0xE0 0x6F 0x17 [Channel 0 PitchBend PitchBend=3055]
MSG: 0xE0 0x34 0x1A [Channel 0 PitchBend PitchBend=3380]
MSG: 0xE0 0x79 0x1C [Channel 0 PitchBend PitchBend=3705]
MSG: 0xE0 0x7D 0x1E [Channel 0 PitchBend PitchBend=3965]
MSG: 0xE0 0x01 0x21 [Channel 0 PitchBend PitchBend=4225]
MSG: 0xE0 0x05 0x23 [Channel 0 PitchBend PitchBend=4485]
MSG: 0xE0 0x09 0x25 [Channel 0 PitchBend PitchBend=4745]
MSG: 0xE0 0x4E 0x27 [Channel 0 PitchBend PitchBend=5070]
MSG: 0xE0 0x52 0x29 [Channel 0 PitchBend PitchBend=5330]
MSG: 0xE0 0x56 0x2B [Channel 0 PitchBend PitchBend=5590]
MSG: 0xE0 0x1B 0x2E [Channel 0 PitchBend PitchBend=5915]
MSG: 0xE0 0x1F 0x30 [Channel 0 PitchBend PitchBend=6175]
MSG: 0xE0 0x23 0x32 [Channel 0 PitchBend PitchBend=6435]
MSG: 0xE0 0x68 0x34 [Channel 0 PitchBend PitchBend=6760]
MSG: 0xE0 0x6C 0x36 [Channel 0 PitchBend PitchBend=7020]
MSG: 0xE0 0x70 0x38 [Channel 0 PitchBend PitchBend=7280]
MSG: 0xE0 0x74 0x3A [Channel 0 PitchBend PitchBend=7540]
MSG: 0xE0 0x78 0x3C [Channel 0 PitchBend PitchBend=7800]
MSG: 0xE0 0x7C 0x3E [Channel 0 PitchBend PitchBend=8060]
MSG: 0xE0 0x3F 0x40 [Channel 0 PitchBend PitchBend=8255]
MSG: 0xE0 0x43 0x42 [Channel 0 PitchBend PitchBend=8515]
MSG: 0xE0 0x06 0x44 [Channel 0 PitchBend PitchBend=8710]
MSG: 0xE0 0x0A 0x46 [Channel 0 PitchBend PitchBend=8970]
MSG: 0xE0 0x4D 0x47 [Channel 0 PitchBend PitchBend=9165]
MSG: 0xE0 0x51 0x49 [Channel 0 PitchBend PitchBend=9425]
MSG: 0xE0 0x14 0x4B [Channel 0 PitchBend PitchBend=9620]
MSG: 0xE0 0x18 0x4D [Channel 0 PitchBend PitchBend=9880]
MSG: 0xE0 0x5B 0x4E [Channel 0 PitchBend PitchBend=10075]
MSG: 0xE0 0x5F 0x50 [Channel 0 PitchBend PitchBend=10335]
MSG: 0xE0 0x22 0x52 [Channel 0 PitchBend PitchBend=10530]
MSG: 0xE0 0x26 0x54 [Channel 0 PitchBend PitchBend=10790]
MSG: 0xE0 0x69 0x55 [Channel 0 PitchBend PitchBend=10985]
MSG: 0xE0 0x2C 0x57 [Channel 0 PitchBend PitchBend=11180]
MSG: 0xE0 0x6F 0x58 [Channel 0 PitchBend PitchBend=11375]
MSG: 0xE0 0x32 0x5A [Channel 0 PitchBend PitchBend=11570]
MSG: 0xE0 0x34 0x5B [Channel 0 PitchBend PitchBend=11700]
MSG: 0xE0 0x77 0x5C [Channel 0 PitchBend PitchBend=11895]
MSG: 0xE0 0x3A 0x5E [Channel 0 PitchBend PitchBend=12090]
MSG: 0xE0 0x3C 0x5F [Channel 0 PitchBend PitchBend=12220]
MSG: 0xE0 0x7F 0x60 [Channel 0 PitchBend PitchBend=12415]
MSG: 0xE0 0x42 0x62 [Channel 0 PitchBend PitchBend=12610]
MSG: 0xE0 0x05 0x64 [Channel 0 PitchBend PitchBend=12805]
MSG: 0xE0 0x48 0x65 [Channel 0 PitchBend PitchBend=13000]
MSG: 0xE0 0x0B 0x67 [Channel 0 PitchBend PitchBend=13195]
MSG: 0xE0 0x0D 0x68 [Channel 0 PitchBend PitchBend=13325]
MSG: 0xE0 0x50 0x69 [Channel 0 PitchBend PitchBend=13520]
MSG: 0xE0 0x13 0x6B [Channel 0 PitchBend PitchBend=13715]
MSG: 0xE0 0x56 0x6C [Channel 0 PitchBend PitchBend=13910]
MSG: 0xE0 0x19 0x6E [Channel 0 PitchBend PitchBend=14105]
MSG: 0xE0 0x5C 0x6F [Channel 0 PitchBend PitchBend=14300]
MSG: 0xE0 0x60 0x71 [Channel 0 PitchBend PitchBend=14560]
MSG: 0xE0 0x23 0x73 [Channel 0 PitchBend PitchBend=14755]
MSG: 0xE0 0x66 0x74 [Channel 0 PitchBend PitchBend=14950]
MSG: 0xE0 0x6A 0x76 [Channel 0 PitchBend PitchBend=15210]
MSG: 0xE0 0x2D 0x78 [Channel 0 PitchBend PitchBend=15405]
MSG: 0xE0 0x70 0x79 [Channel 0 PitchBend PitchBend=15600]
MSG: 0xE0 0x74 0x7B [Channel 0 PitchBend PitchBend=15860]
MSG: 0xE0 0x39 0x7E [Channel 0 PitchBend PitchBend=16185]
MSG: 0xE0 0x7F 0x7F [Channel 0 PitchBend PitchBend=16383]
MSG: 0xE0 0x7F 0x7F [Channel 0 PitchBend PitchBend=16383]

Re: Connecting a MIDI Controller

Posted: 05 Jan 2013 17:18
by radio42
Oki, that is indeed pretty odd and funky.
However, I guess in that case I need to tweak the midi message handling a bit and provide a new macro to pair the value of data1 and data2.
I'll need to add that to the next version.

Re: Connecting a MIDI Controller

Posted: 05 Jan 2013 17:49
by Michiel Bouwmeester
Ok, thanks for telling me I am not going crazy :P

I will wait for the update, i do need think of a "quick and dirty" methode untill the update.

Re: Connecting a MIDI Controller

Posted: 05 Jan 2013 19:52
by Michiel Bouwmeester
After some more testing and playing around I found out that the midipanel has a mode (cubase mode) that makes the faders give the data PF would like to see. Since all other functions work correct in this mode I would not "rush" for a new conversion macro. I will keep the panel in Cubase mode.

Status so far:

- All knobs work (Qcon <-> PF)
- All status lights work (Qcon <-> PF)
- Rotary encoders work (Qcon -> PF)
- Motor faders work (Qcon ->PF)

I am now going try to get some text on the display.

Re: Connecting a MIDI Controller

Posted: 07 Jan 2013 21:25
by Michiel Bouwmeester
Hi Bernd,

As you know I am working on getting the QconEX to work with PF with as much functions availble.
While that work continue's on the midi controller I have the following question:

On the panel there are 8 level meters of each 12 leds. These are designed to give you a signal reading. What happens that if you use the controller under nuendo/cubase/pro tools/etc you will see a VU-Level indication of the playing tracks. This is done by sending midi commands to the "meter". As an example meter 1 (is channel 0) uses the following adresses:

Command 1: D0 01 (activates led 1)
Command 2: D0 02 (activates led 1+2)
Command 3: D0 03 (activates led 1 t/m 3)
Command 4: D0 04 (activates led 1 t/m 4)
Command 5: D0 05 (activates led 1 t/m 5)
Command 6: D0 06 (activates led 1 t/m 6)
Command 7: D0 07 (activates led 1 t/m 7)
Command 8: D0 08 (activates led 1 t/m 8)
Command 9: D0 09 (activates led 1 t/m 9)
Command 10: D0 00 Resets the complete led bar (all leds off)
Command 11: D0 0A (activates led 1 t/m 10)
Command 12: D0 0B (Activates led 1 t/m 11)
Command 13: D0 0C (activates led 1 t/m 11 + 12, clip led)

If I understand the proces correct this is what happens:
A audio singal is converted to a midi command that fits the meassured audio level.
This is the sended through midi followed by a reset command to "reset the meter".

Now the following questions rise:
- Is there a way to convert the audio level of a mixer out/input to midi commands ?
Unfortunally I donnot (yet) have an idea about the sample rate of the meters, it will not by high of course.

To be honost when I read about the feature I assumed it to be of no use compared to real meters.
Having them seen in action under nuendo the do make sence :)

Edit: Fixed wrong midi value's in the original post

Re: Connecting a MIDI Controller

Posted: 08 Jan 2013 19:39
by Michiel Bouwmeester
radio42 wrote:No, I guess that is currently not possible - but it can be easily added to the next version - I'll let you know!
You are amazing Sir :)

Re: Connecting a MIDI Controller

Posted: 25 Jan 2013 15:51
by radio42
The new v3.0.11.28 now contains various enhancements to support the Mackie Control Universal protocol plus many other MIDI enhancements.
See here for details: viewtopic.php?f=4&t=681