Topic: Command line commands

Where can I find a complete guide for the headless usage of Pianoteq?
And can I control my gui sessions using the command prompt?
For example, how do I change the preset of my running gui Pianoteq session using the command prompt?

I'm working on a controller for my Linux board, but I struggle to find a complete list of commands.

Last edited by MrRoland (26-03-2019 22:19)

Re: Command line commands

Of course command line options can be seen with "pianoteq --help".   As far as I know you cannot control a running pianoteq from the command line directly.   However pianoteq can be controlled with midi so you could use a command line program to generate midi which can be routed to pianoteq.   Middings or midish would be able to do this.  Another, perhaps obvious, method would be to send midi command from your midi keyboard or other midi controller.

Last edited by varpa (28-03-2019 16:33)

Re: Command line commands

Thanks for the response!
The programs you mentioned might be a good start for me so I'll dive into it.
One problem I have with using midi to control Pianoteq is that I have no feedback. I want to be able to get the name of the selected preset so I can display this on a oled display. I prefer to get this info from the Pianoteq session that is running on my device. When you start a headless session the loaded preset is listed, but if I change a preset using midi, will this be shown in the terminal? I have used Linuxsampler  before I found Pianoteq and I was able to communicate with the software through a tcp socket and directly from the command line even if the session was running as a service. I was hoping to find similar methods for Pianoteq.

Re: Command line commands

I believe that developers have said here that there is not bidirectional comunication in Pianoteq

Re: Command line commands

varpa wrote:

Of course command line options can be seen with "pianoteq --help".

There are also "unofficial" options like these: https://www.forum-pianoteq.com/viewtopi...40#p953040

I wonder if there's a hidden option to get some kind of feedback from pianoteq (like a preset change) in the console. It would then be trivial to display essential information on a dedicated display, like this:
LCD display example

It's a pity that Pianoteq can be controlled by midi but the only informational output is its GUI. Even better than the console would be through MIDI-out or OSC, and the dream is a webservice interface to query its state.

That would open the possibility to use Pianoteq as a sound engine with custom interfaces to control it, like a mobile phone app, or a physical MIDI controller (with visual feedback), an LCD display, Zynthian, an alternative desktop GUI... so much better than VLC.

I asked MODARTT if they intended to implement some kind of bidirectional control in 2015, but it was not in their plans then. I hope that now that an embedded Pianoteq running in a Raspberry is a reality and even officially supported, they will reconsider it.

Last edited by alessandro (28-08-2019 11:46)