Topic: Raspberry Pi Pianoteq headless controlled by midi keyboard CCs

Hello,

I’m interested in deploying a (licensed) pianoteq install on my RPi4B using Patchbox OS.
My requirements are as follows:

1) Headless: launches pianoteq on startup, shutsdown with a CC command (or upon pressing the button if I get PiSound)

2) Being able to change the patch/preset using a Midi program change from my keyboard controller (Numa Compact 2X)

3) Being able to change preset parameters using a Midi CC change from my keyboard controller

I’m especially interested in knowing if points 2 and 3 are possible and how to go about mapping these, and I’m curious about the best implementation of a shutdown processus for current headless users.
I welcome any advice in general!

Thanks for reading me, have a lovely day!

(For transparency this is a duplicate of https://community.blokas.io/t/pianoteq-...d-ccs/2316 )

Re: Raspberry Pi Pianoteq headless controlled by midi keyboard CCs

Running PT on startup depends on the distro, for debian based distros there is a menu named "startup apps" or something like that, just put there the location of an script that launches PT headlessly, or the route to the exectuable with --headless modificator.

I don't know how your MIDI controller work, but assigning MIDI events to instruments/parameters is quite easy.
For instruments, go to menu: window -> preset manager -> click on the little arrow to the right of the desired preset -> assign MIDI event, and finally, trigger the event from the controller.
For parameters, right click on the slider -> MIDI -> assign
Hope it helps
Marcos

Last edited by marcos daniel (12-10-2020 06:45)

Re: Raspberry Pi Pianoteq headless controlled by midi keyboard CCs

I have a Studiologic SL88 Grand and the keyboard sends MIDI Program Change events on change programs which you can easily map to presets in Pianoteq.

Regarding preset parameters you have to look into Pianoteq MIDI setup settings and see if there is a possibility to map a certain MIDI controller event to the preset parameter you like to change.

I've set up my headless Raspi 4 in a way that Pianoteq gets launched when the keyboard is attached (or powered on) and stopped when the keyboard gets powered off, using an udev rule, see https://forum.modartt.com/viewtopic.php...81#p965081