On Mon, Nov 26, 2007 at 07:34:09PM +0100, mike wrote:
> i'm from germany. i was surprised to found this nice software (and for 
> free). i build successfully the CVS-linux-version and its run on my 
> x86_64 2.6.23. my question is: how can i make a 'midi-controller' 
> xml-file for a controller of my choice. theoretical  can't this be a 
> problem: my midi device give me this output:
> bash-3.2#amidi -d -p hw:2,0,0
> B0 01 00   #start of knob
> B0 01 02
> B0 01 03
> B0 01 04
> ....
> B0 01 7F   #end of knob
> 
> when i move a controller knob.
> 
> the controller xml files under share/mixxx/midi/*.midi.xml looks easy 
> for modify but a first short test failed.
> i modify Evolution_Xsession.midi.xml from:
>    <control>
>      <group>[Master]</group>
>      <key>crossfader</key>
>      <miditype>Ctrl</miditype>
>      <midino>*1*</midino>
>      <midichan>*1*</midichan>
>    </control>
> to
>    <control>
>      <group>[Master]</group>
>      <key>crossfader</key>
>      <miditype>Ctrl</miditype>
>      <midino>*01*</midino>
>      <midichan>*B0*</midichan>
>    </control>
> but no effects.

You're misunderstanding (along with the other people who have replied
to this thread!) what the messages are from amidi.

> B0 01 02

B0 = Ctrl on channel 1
01 = Controller Number: 1
02 = Controller Value: 2

So this would be XMLised as:

<miditype>Ctrl</miditype>
<midichan>1</midichan>
<midino>1</midino>

In other words, for this particular control, it should work if you keep 
the original block exactly as it was instead of changing it.

A control change message on channel 2 would start 0xB1. Channel 16 0xBF.

A Note press on channel 1 would look like this:
90 kk vv
80 kk vv
Where kk is the key number (and vv is the velocity -- irrelevant for mixxx)

> an other idea was to build  in a learn function for each knob and fader 
> in mixxx? (then we can use some much more midi controllers, i think)

That would certainly be a nice feature :)

Ben


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to