Hi Jan,

Thanks for your help. I've finally found some time to test the leds using
Mixxx. I've been reading the midi specs (
http://www.borg.com/~jglatt/tech/midispec.htm) and also the user manual of
the BCD3000, but I still can't turn any led on using mixxxx.

However, I can turn it on using the following command:

$ amidi -p hw:1,0,0 -S 'B0 12 7F'

and I can turn it off by using:

$ amidi -p hw:1,0,0 -S 'B0 12 00'

However, with the following code in the xml file nothing happens:

<lights>
    <light>
        <group>[Channel1]</group>
        <key>play</key>
        <status>0xB0</status>
        <midino>0x127F</midino>
        <threshold>0.5</threshold>
    </light>
</lights>

Any idea?






2008/2/28, Jan Jockusch <[EMAIL PROTECTED]>:
>
> Hi Oriol and others,
>
> and thanks for the XML cutout. That did it. Now I could reproduce the
> segfault.
>
> You know the nasty "variable might be used uninitialized in function x"
> compiler warning? Well, I did just that. Use an uninitialized struct if
> there's something other than 0xB? or 0x9? in the status register. I
> fixed that, see attached patch. One segfault less, I hope.
>
> Sorry about that one, that was a perfect example of sloppiness.
>
> - Ján
>
>
>
> > Hi Jan,
> >
> > I'm all for helping you if I can. Maybe Thomas could make a quick test
> > to see if the problem involves sending midi to any BCD3000, or it's
> > just something weird about my unit or my PC configuration. Thomas, are
> > you using mixxx on Linux? You could try to add the following lines to
> > your xml file and check if the led on the play key works:
> >
> > <lights>
> > <light>
> > <group>[Channel1]</group>
> > <key>play</key>
> > <status>0x7F</status>
> > <midino>0x12</midino>
> > <threshold>0.5</threshold>
> > </light>
> > </lights>
> >
> > Another possibility is that I messed up with this xml config. I will
> > send you tonight the BCD3000 manual page where it explains the midi
> > commands to be sent for led control on the BCD3000.
> >
>
>
-------------------------------------------------------------------------
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

Reply via email to