play message via osc?

Accueil Forums Créer avec IanniX play message via osc?

14 sujets de 1 à 14 (sur un total de 14)
  • Auteur
    Messages
  • #2193 Répondre
    Anonyme
    Inactif

    Hello All,
    first thanks for IanniX, and for this *new* IanniX. Like always is a inspiration.

    I’m using Lua scripting to send OSC messages to IanniX. I’m able to create different objects,
    but i’m not able to send a play message.
    My attempts was sending (osc://…) /iannix/play, /iannix/transport/play, etc. with no luck.
    Is this possible via OSC?

    What i would like is write a Lua script that create a score, play the score and receive the messages from score again in the script that drive Csound (using Csound API for Lua).
    For now my only stop is this play (to Iannix) message!

    Thanks,
    ciao,
    francesco.

    #2623 Répondre
    Anonyme
    Inactif

    @franci wrote:

    …My attempts was sending (osc://…) /iannix/play, /iannix/transport/play, etc. with no luck. Is this possible via OSC?…

    I found it possible:

    –Bob

    #2624 Répondre
    Anonyme
    Inactif

    Thank You Mr. Bob,
    and thank for the link, really helpful. But for some reason i’m not able to play a score.
    If the score is playing, sending a message « stop » work, also work play and stop a single cursor
    (with setSpeed) but only when the score is playing.
    I’m not able to send the *first* play to the score, (hope to be clear).
    My test score is really simple, a single curve and a single cursor, maybe i need to set some other parameters like « activate » or similar …

    Ubuntu 10.04, with the latest IanniX.

    Thanks,
    ciao,
    francesco.

    #2625 Répondre
    Anonyme
    Inactif

    @franci wrote:

    …I’m not able to send the *first* play to the score, (hope to be clear).

    Oh, you are saying that Iannix responds to subsequent OSC-play messages, but not when the *initial* play is from OSC. If that is true, I likely would never have noticed this myself because during all my tests I would have done at least one play from the UIF. I’ll have to look at that!

    What happens if you do a /iannix/stop or /iannix/fastrewind first, then the /iannix/play? (a kind of throat-clearing:–)

    Cheers,
    –Bob

    #2622 Répondre
    Anonyme
    Inactif

    Yes, exactly.
    I have try to send fastrewind and stop before play, but nothing happens. It seems like i need to start play in IanniX and then others osc command function right … except play.
    And if IanniX is playing i can stop it but not resume play again.
    I can setSpeed to all cursor (i.e. setSpeed all 1|0) like You said, but this (obviously) do not stop the score.

    thank,
    ciao,
    francesco.

    #2626 Répondre
    Anonyme
    Inactif

    ok, not really exactly, because, like i said, do not works subsequent osc-play messages, either.

    apologies and again ciao,
    fra.

    #2627 Répondre
    Anonyme
    Inactif

    oh, sorry i forget to say that in IanniX inspector, in the received messages window, the sending messages are correctly displayed, and this means that Iannix receive the correct message, i think.

    ciao,
    francesco

    #2628 Répondre
    Anonyme
    Inactif

    @franci wrote:

    ok, not really exactly, because, like i said, do not works subsequent osc-play messages, either.

    So, no OSC-play, but you do have OSC-cursor speed control. That’s a mouldy one, Francesco.

    Okay, this is totally boring boiler-plate stuff, but: Can you give us the details of your environment, such as Iannix version, O/S, other running programs (including anti-virus, which you might want to temporarily disable, for observation purposes).

    Confirming the messages in the inspector would seem to be conclusive, but…

    Perplexed,
    –Bob

    #2629 Répondre
    Anonyme
    Inactif

    Yes,
    i’m on Ubuntu 10.04, with IanniX 8.2 and 8.2.1, both build from source.
    i don’t have antivirus (for what i know).
    OSC messages are sent from a Lua script using a simple osc module, or from Csound (a running piece simply for sending and/or receiving osc).
    Both same result.

    I’m not an expert nor a programmer, and i am exploring IanniX to know it better.
    It’s also possible that something is wrong on my system!

    The only thing that confuse me is that inspector display the right messages, because i was thinking that the message or the way i sent it are wrong.

    I will go on in my explorations.

    But are You able to send a osc play message to a IanniX score?

    Thank You, also for Your time,
    ciao,
    francesco.

    #2630 Répondre
    Anonyme
    Inactif

    Yes, the play message works for me.

    Something just occurred to me, Francesco: In another thread, Dave Phillips mentioned that OSC with the loopback IP address (127.0.0.1) was not working between Ardour and Iannix in his Linux environment (I forgot what distro he was using — it might have been Ubuntu). He reported that Paul Davis (the author of Ardour) acknowledged this problem and thought it might be trouble with liblo. Paul recommended instead using the actual local IP address (usually something like 192.168.001.030). This fixed Dave’s problem.

    The troubling thing is that you see the correct incoming OSC messages in the Iannix inspector. Did you double-check that? Anyway, you might want to try the IP-thing.

    –Bob

    #2631 Répondre
    Anonyme
    Inactif

    Thank You,
    i will try and i also will control better.
    And obviously, i will post my result!

    ciao,
    francesco.

    #2632 Répondre
    Anonyme
    Inactif

    Has this been resolved ?

    I am trying to communicate between IanniX and Python and it seems that everything works except the ‘play’ message..

    If I send these messages:
    self._send(osc.Message(« /iannix/zoom 100 »))
    self._send(osc.Message(« /iannix/settime 2 2 »))
    self._send(osc.Message(« /iannix/play »))
    they all work except the last one.
    Weird ?

    #2633 Répondre
    Anonyme
    Inactif

    Ah,
    after being stuck for some time found a solution within a few minutes after posting:

    If I send these messages:
    self._send(osc.Message(« /iannix/zoom 100 »))
    self._send(osc.Message(« /iannix/settime 2 2 »))
    self._send(osc.Message(« /iannix/play 1 »))
    it works !
    It seems ‘play’ needs an argument that sets the speed; play 0.5 plays at half the speed..

    is that a hole in the docs ?

    ciao,

    Joost.

    #2634 Répondre
    Anonyme
    Inactif

    Hi,

    Yep it sounds like a hole in the docs…
    Docs haven’t been update since end of 2011…

14 sujets de 1 à 14 (sur un total de 14)
Répondre à : Répondre #2631 dans play message via osc?
Vos informations :





© IanniX Association

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