Fixed midi channel for a cursor

Accueil Forums Créer avec IanniX Fixed midi channel for a cursor

4 sujets de 1 à 4 (sur un total de 4)
  • Auteur
    Messages
  • #5538 Répondre
    TomW
    Invité

    Hi, I’m new to Iannix and I was wondering if there was a way to make a cursor represent a specific midi channel? The idea being that each trigger then outputs its assigned note value on the channel of the cursor that intersects with it. I initially thought that I could compose my message using something like the group id midi://midi_out/note cursor_group_id 60 120 trigger_duration but this does not work because the group id is a string and the output is therefore not rendered correctly, what I see is midi://from_iannix/note 120 (C9) 120 1. The only way I could see to do this was to use the cursor_id which is an int, but this is impractical as you cant have more than 1 playhead per channel, or to remap one of the x,y,z co-ordinates to a fixed value, but this means losing a dimension of expression. Is there something obvious that I’m missing here?

    #5539 Répondre
    IanniX
    Maître des clés

    Hi!

    One trick would be to use the 3rd dimension (z) but it might complexify your score.

    I
    But I n fact, your can convert your string parameter into integer by using the in-message JavaScript syntax.
    {parseFloat(cursor_group_id)} instead of cursor_group_id It should work!

    #5540 Répondre
    TomW
    Invité

    Thank you very much! in-message JavaScript syntax was exactly what I needed. Is there somewhere I can read more about this?

    #5541 Répondre
    IanniX
    Maître des clés

    I don’t think there is documentation on this here https://github.com/buzzinglight/IanniX/wiki
    But you can use any Javascript syntax with all the IanniX variables in the message, like {cursor_x * cursor_y + cos(cursor_z)} for example.

4 sujets de 1 à 4 (sur un total de 4)
Répondre à : Fixed midi channel for a cursor
Vos informations :





© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos