Here’s a quick guide on how to setup RNBO runner on Patchbox OS. There is some compatibility improvements that could be made, we might see that done at some point in the future.
Set up Cycling 74’s APT server by running the following commands (make sure to copy the entire length):
Fix up pi user in RNBO’s .service file by overriding .service config:
sudo cp /usr/lib/systemd/system/rnbooscquery.service /etc/systemd/system/
# Change User=pi to User=patch and hit ctrl+x, then y to save.
sudo nano /etc/systemd/system/rnbooscquery.service
# Reload the config and restart the service.
sudo systemctl daemon-reload
sudo systemctl restart rnbooscquery
Disable Patchbox’s Jack service, as it would conflict with RNBO runner. (in the future RNBO should be made to connect to the shared preconfigured server if available, otherwise start its own)
sudo systemctl disable --now jack
# Do enable instead of disable to get it back
Now the system should be discoverable among the Export Targets in Max, if connected to very same network.
You’ll have to configure the audio regardless of settings you already had in patchbox config utility.
After the setup Giedrius described above, I successfully exportet the RNBO example patch - feedback synth - on the RPI.
Wonderful!
But I cannot hear anything via triggering with a MIDI keyboard (for the notein in the RNBO feedback-synth patch), maybe I loose the MIDI connection by disabling jack?
MIDI is working with jack enabled with the pianoteq btw.
Or is somebody more successfull?
Anyway great step forward!
It just worked for me in my case (the tricky part for me was to get the device to be discovered in the first place, I’m not sure what procedure they use for discovery, but maybe my router was preventing some types of packets (multicast?) between WiFi and LAN, so I had to hook the devices together by network cable directly)
You may check the output of the service to see if there’s any issues:
journalctl -u rnbooscquery
optionally add ‘-f’ to follow the latest output (it may lag behind by a couple of seconds or more though, as it’s heavily buffered) Otherwise, hit ‘end’ key to go to the latest lines, ‘q’ to quit.
@Giedrius,
I succesfully got the RNBO-feedback-synth working with the PiSound wit MIDI and USB-MIDI. Great! Don´t know what the problem was before. Maybe the poti with the volume was not open enough.
Regarding the rnboscquery: I got it to work, when I do the following procedure: Start Max with the RNBO-external and then reboot Rasp…voila in the target the “ptachbox”-device appears.
BTW the command journalctl -u - f rnbooscquery" gave me an error.
Anyway really glad that it worked, thanks for your effort, Giedrius.