Any PI music apps that work with OSC + examples for setup?

Discussion of all things Raspberry Pi / Raspberry Pi 2 related

Moderators: MattKingUSA, khz

Post Reply
rtmusic
Established Member
Posts: 9
Joined: Mon Mar 01, 2021 6:46 pm
Has thanked: 1 time
Been thanked: 2 times

Any PI music apps that work with OSC + examples for setup?

Post by rtmusic »

I finally figured out how to 'build/make' rtosc and oscprompt so I could verify that OSC could work with ZynAddSubFX on my Pi. This was a major obstacle for me - if it's not out there ready-to-install using synaptic package manager, I'm usually stumped. I verified I could query Zyn with oscprompt and affect parameters in the GUI. Now I believe I could take the next step with the iPad TouchOSC app. TouchOSC and OSC in general is still a bit mysterious for me. What other applications besides ZynAddSubFX do you know of that can be controlled using OSC on your Pi?

And, what would be even more exciting for me, does anyone have experience with getting OSC to work with KXStudio Carla? I would rather use ZynAddSubFx as a plug-in inside that, with other plug-ins. Carla has some suggested parameters/ports in the Help menu, but it is unresponsive when I try to connect to it using oscprompt.

Relative links:
OSCPrompt: https://github.com/fundamental/oscprompt
KXStudio Carla: https://kx.studio/Applications:Carla
ZynAddSubFX OSC reference: https://zynaddsubfx.sourceforge.io/zyn-ports/
Plant Energy to Sound and Light: https://www.youtube.com/watch?v=5Ou0r-_FLiY
VanHammen
Established Member
Posts: 38
Joined: Sat Aug 29, 2015 3:53 pm
Has thanked: 9 times
Been thanked: 6 times

Re: Any PI music apps that work with OSC + examples for setup?

Post by VanHammen »

What other applications besides ZynAddSubFX do you know of that can be controlled using OSC on your Pi?
It does not qualify as ready-to-install but if you are not afraid of little a scripting please note you can turn any LV2 plugin into an OSC controlled application using bipscript.

Here is an example script that hosts AMSynth LV2 and allows control of volume and presets via OSC:

Code: Select all

#!/usr/bin/bipscript

synth <- Lv2.Plugin("http://code.google.com/p/amsynth/amsynth")

Midi.Input("in") => synth => Audio.Output("out", true)

Osc.Input(3033).onReceive(function(mesg) {
	switch(mesg.path) {

	case "/volume":
		synth.control("master_vol", mesg.arg(0))
		break;

	case "/patch":
		synth.preset(mesg.arg(0))
		break;

	default:
		println("warning: unknown message path " + message.path)
	}
})

Script.stayAlive()

To test:

oscsend localhost 3033 /volume f 0.9
oscsend localhost 3033 /patch s "BriansBank20: 049: SuperStrings"

Install and docs: www.bipscript.org
Post Reply