Topic: Feature request: specify midi mapping on command line

Pianoteq has the nice feature that you can set and save midi configuration(s), but so far as I can tell, there is no way to tell pianoteq to load a specific configuration at start up.   I'd like to be able to start pianoteq with a specific midi configuration.   Mainly I'm interested in starting several instances of pianoteq, each set to a different midi channel, but I do not see that this is possible from the command line.  Is this possible with the current version of pianoteq and if not, perhaps this feature could be added in the future.  Thanks.

Re: Feature request: specify midi mapping on command line

There is a --midimapping command line option that should allow you to start pianoteq with a specific midi mapping.

Re: Feature request: specify midi mapping on command line

Thanks for the help.   Somehow I did not notice that option before.

Re: Feature request: specify midi mapping on command line

are cmd line options for os x, if they exist, documented somewhere?

Re: Feature request: specify midi mapping on command line

On linux the command line options are available with the "--help" option and so I suggest trying that on your Mac.   (comment: both linux and Mac are built on unix, and the command lines are in general very similar).

Re: Feature request: specify midi mapping on command line

You're right. Here's what I found (thanx for the suggestion):

$ cd /Applications/Pianoteq\ 4/Pianoteq\ 4.app/Contents/MacOS/
$ ./Pianoteq\ 4 --help
Pianoteq version 4.2.0/20120919 -- http://www.pianoteq.com
Copyright (c) 2012 Modartt.
Options from command-line:
--help            : show this help, and quit
--version         : show current version number and date, and quit
--no-prefs        : start Pianoteq without using any saved preference
--no-audio-prefs  : start Pianoteq with a clean audio/midi configuration
--prefs FILENAME  : stores the preferences in the specified file
--fxp FILENAME    : load an FXP file on startup
--preset NAME     : load a preset on startup
--list-presets    : display the list of all presets
--midimapping NAME: load a midimapping preset on startup
--midi FILENAME   : load a midi file
--wav FILENAME    : export midi file as wav, and quit
--rate FREQ       : change the sample rate for the exported wav
--bit-depth D     : change the bit-depth for the exported wav (16,24 or 32)
--mono            : export the wav file as mono
--headless        : do not show the graphical interface
--play            : immediately start playing the midi file
--play-and-quit   : start playing the midi file, and quit when it ends
Example of use: Pianoteq --preset "M3 Close Mic" --midi foo.mid --wav foo.wav