Skip to content

OSC

Sound Input

Le Biniou 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, build Gwion and the necessary dependancies:

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

then launch the Gwion/Le Biniou test script (using the JACK driver):

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