Sending OSC messages directly from scripts

Accueil Forums Scripts Sending OSC messages directly from scripts

  • Ce sujet contient 2 réponses, 3 participants et a été mis à jour pour la dernière fois par Anonyme, le il y a 13 années et 3 mois.
3 sujets de 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #2223 Répondre
    Anonyme
    Inactif

    Hi All,

    Is there currently a way to send an OSC message from directly within a script?

    something along the lines of


    iannix.execute(sendMessage osc://127.0.0.1:52170/foo/bar 1 2 3)

    I’m planning to write scores for synths I’m building in PD but I’d like to be able to send messages to set them up before the score starts playing. I guess that it would be possible to either add the messages to the transport or set up a trigger but that feels a bit inelegant for messages that I only want to send once.

    cheers

    Guy

    #2712 Répondre
    Anonyme
    Inactif

    Hello,
    i don’t know if this is what you mean, but i have experimented creation of a score sending
    OSC messages from a script (a Lua script). After that should be possible to start the score
    sending the message play (but to me don’t work yet, but others reported that work).
    It should be also possible to modify the score while is running (but i’m not an expert).

    ciao,
    francesco.

    #2713 Répondre
    Anonyme
    Inactif

    Hi!

    Actually the IanniX way-of-thinking is to create a trigger that is trigged at the beginning of your score and sending your OSC messages.

3 sujets de 1 à 3 (sur un total de 3)
Répondre à : Sending OSC messages directly from scripts
Vos informations :





© IanniX Association

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