Hi,
First, thanks Modartt for that surprised feature in 7.5. This is a great addition in my opinion. I have started using the JsonRPC api and so far it works great. Here are a few suggestions that I find could help make the API better.
Suggestions:
1- When an API changes the state of Pianoteq than that API should return that new state. For instance,
abSwitch() should return the state that it is now. i.e. either A or B
2- When providing a wrong command name, the Pianoteq instance crashes instead of returning an error
3- Metronome API - I could not find anything about the metronome
4- getInfo() API - When the loaded preset is a custom one, the name of the preset includes the bank info in it. Pls, consider adding the attribute bank like it is for the getListOfPresets() API
* Ex: "name": "My Presets/NY Steinway Model D (RC)" - The "My Presets" Is the bank attribute mixed with the name attribute. This makes it not consistent across your API and introduce confusion.
Issue that I am facing at the moment
1- (FIXED - No longer an issue) Found my issue with loading custom presets. I forgot to include the bank name in the request. Now fixed
Thanks again for this API!
Cheers
Last edited by sordess (05-01-2022 19:55)
Sordess
Author of PTQ Client Webapp: (
https://github.com/robert-rc2i/ptq-client-webapp)
Kawai CA79