1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE
NOTICE:

Our Traktor Pro Public Beta is available again in our new online community. Join us if you want to try new features.

MORE INFO

QML to MIDI out?

Discussion in 'KONTROL S5/ KONTROL S8' started by dj_estrela, Apr 2, 2020.

  1. dj_estrela

    dj_estrela Well-Known Member

    Messages:
    695
    Hi there
    Its quite impressive what you guys did by editing QML files.
    I wonder if you see a way to use QML to output MIDI messages to a BOME virtual device?
    https://github.com/jarnoh/qmlmidi/blob/master/README.md

    Idea:
    In my DDJ-1000 BOME mapping I'm currently getting the elapsed time by interpreting the obsolete DN-HC4500 info that is sent when you add this TSI to traktor.
    However this method works only for 2 decks and misses other useful info that could be displayed.
    On the other hand the QML have all these info with perfect fidelity.

    HC4500 idea: https://forum.djtechtools.com/showthread.php?t=28523
    HC45000 midi codes: https://raw.githubusercontent.com/S...ing/master/readme-img/denon_midi_commands.jpg

    This is how the XDJ-1000 QML is implemented in traktor:
    https://github.com/kokernutz/traktor-kontrol-screens/tree/master/CSI/XDJ1000MK2

    thanks...
     
    Last edited: Apr 28, 2020
    • Like Like x 1
  2. dj_estrela

    dj_estrela Well-Known Member

    Messages:
    695
    Another idea would be to make a fake driver emulating the S5/S8 or XDJ-1000.
    Only the deck setup handshake would be required. Hopefully at that time it would start outputing information

    the real deck would be controlled by MIDI as normal.
     
  3. ErikMinekus

    ErikMinekus NI Product Owner

    Messages:
    966
    I tried, but Traktor just crashes when I import a custom QML plugin. It seems that Traktor still needs to be compiled with a "qmldir" file for each plugin, so that it knows where the plugin is located.

    The only way I've been able get information out of Traktor via QML is by doing HTTP requests to a Node.js server, but it was kind of unreliable, so I gave up on it. HTTP is also not great for real-time information.
     
    • Like Like x 1
  4. Nick Moon

    Nick Moon NI Product Owner

    Messages:
    162
    QML to MIDI is one of the things I've been planning to attempt for a long time... My use case was being able to implement a track search system on a D2/S8 that would in turn access the standard Traktor MIDI search function which NI never implemented in the Traktor -> Kontrol API.

    My initial research concluded would be tricky for the reasons already found. I have another approach in mind that I'll report back on if/when I get to do some R&D. This approach would initially be for macOS version only.
     
    • Like Like x 1
  5. ErikMinekus

    ErikMinekus NI Product Owner

    Messages:
    966
    • Like Like x 1
  6. dj_estrela

    dj_estrela Well-Known Member

    Messages:
    695
    Latest on this story:

    QML to MIDI was something I really wanted.
    https://www.native-instruments.com/forum/threads/qml-to-midi-out.378533/

    Because I'm doing a million tricks to get 14 bit OUT messages:
    https://forum.bome.com/t/documentating-my-traktor-to-bome-mapping-experiences/1765/4

    Currently we have QML to an HTTP server:
    https://github.com/ErikMinekus/traktor-api-client

    The is a midi plugin for node.js. Next step is then adding that to the mix
    https://jazz-soft.net/doc/JZZ/

    Then BOME can receive this in a indendent device, and do its magic.
     
    Last edited: May 29, 2021
    • Like Like x 1