Sample Project - Send Audio Analysis Values Via OSC

12 views
Skip to first unread message

Mathieu

unread,
Sep 3, 2026, 10:15:00 AMSep 3
to Lightjams
Here's a project showing how to send the values of the audio analysis to another app via OSC.

This is handy if you want to use Lightjams to do the audio analysis and use it to generate visuals or trigger effects with another app that can receive OSC.

In the sample project, the OSC addresses for the output are configured in the Extra Outs section of the OSC output. Go in the view/configuration menu and then under the OSC tab to see and edit the OSC output addresses. In the project, values are sent with the /audio prefix.

Reminder: A source in Lightjams can send OSC values using the osc.send function. It then use the configured addresses in the Extra Outs.

The project sends these OSC values:
/audio/energy: the energy level
/audio/beat: the detected beat pulse
/audio/beatPh: a sawtooth generated in sync with the beat
/audio/bpm: the BPM number
/audio/bar: a sawtooth representing 4 beats
/audio/bar2: a sawtooth representing 8 beats
/audio/bar4: a sawtooth representing 16 beats
/audio/break: fires when a break is detected
/audio/tension: the tension level (build-up) after a break is detected and before the drop
/audio/drop: fires when the drop is detected
audio analysis via osc.ljp
Reply all
Reply to author
Forward
0 new messages