User Tools

Site Tools


en:osc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:osc [2022/03/24 20:42] (current)
opale95 created
Line 1: Line 1:
 +====== 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 [[http://opensoundcontrol.org/|here]]
 +
 +===== Testing =====
 +
 +to test with [[https://github.com/Gwion/Gwion|Gwion]]:
 +
 +<code>
 +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
 +</code>
 +build Gwion and the necessary dependancies
 +
 +then
 +
 +<code>
 +cd LeBiniou
 +../../gwion -dJack -p../Jack -p../Math -p../Modules -p../Lo -p../Soundpipe -p. example.gw
 +</code>
 +launches the Gwion/LeBiniou test script (using the Jack driver).
en/osc.txt · Last modified: 2022/03/24 20:42 by opale95