User Tools

Site Tools


en
en:osc

Table of Contents

Using Osc

Sound Input

lebiniou can listen to sound input coming from OSC. To enable it, pass -i oscaudio as argument. The expected OSC message is “/lebiniou/audioinput” and the arguments are two doubles, one for each channel.

The receiving port is 9999 by default, but this can be changed by setting the LEBINIOU_OSC_PORT environment variable.

The input buffer size is 1024 by default, but this can be changed by setting the LEBINIOU_OSC_BUFSIZE environment variable.

More informations about the OSC protocol can be found here

Testing

to test with Gwion:

git clone --recursive https://github.com/Gwion/Gwion
cd Gwion
make
cd plug
make AUTO_INSTALL_DEPS=1
make -C Jack
make -C Lo
make -C LeBiniou

build Gwion and the necessary dependancies

then

cd LeBiniou
../../gwion -dJack -p../Jack -p../Math -p../Modules -p../Lo -p../Soundpipe -p. example.gw

launches the Gwion/LeBiniou test script (using the Jack driver).

en/osc.txt · Last modified: 2022/03/24 20:42 by opale95