[LAD] simple FAUST OSC example

Yann Orlarey orlarey at grame.fr
Thu May 24 07:44:26 UTC 2012


Le 24/05/2012 01:04, Kaspar Bumke a écrit :
> Thanks for the help Yann. I think that could be made clearer in the docs, the exact 
> message you are supposed to send for idiots like me.

The documentation can certainly be improved and questions are very helpful for that.

>
> Anyway, I don't seem to be getting any response from it.

OSC support is an option available on some Faust architectures. To activate this option 
with faust2xxx scripts you need to use the flag -osc. Try for example :

    faust2jack -osc noise.dsp

When you start ./noise you should see several messages on the standard output, in particular :

    Faust OSC version 0.91 application 'noise' is running on UDP ports 5510, 5511, 5512

indicating that the OSC support is active and the UDP ports used.


Cheers

Yann


>
> I compiled noise.dsp to a jackgtk application and I am using the oscsend and oscdump 
> utilities provided by liblo.
> I tried all of these without success:
>
> oscsend localhost 5510 "/*" s hello
> oscsend localhost 5510 "/*" s get
> oscsend localhost 5510 "/a" s get
> oscsend 127.0.1.1 5510 / s hello
> oscsend 127.0.1.1 5510 / s get
> oscsend 127.0.0.1 5510 "/a" s get
> oscsend 127.0.0.1 5510 "/*" s get
> oscsend 127.0.1.1 5510 "/*" s get
> oscsend `hostname` 5510 "/*" s get
> .
> .
> .
>
> Could it be because the wildcard expansion isn't supported by liblo? Am I supposed to do 
> something special at compile time?
>
> Cheers,
>
> Kaspar
>
>
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev




More information about the Linux-audio-dev mailing list