Topic: New Web/SPA front-end for Pianoteq (Using JsonRPC)
Hi,
After a few days of coding I have put in place a rudimentary first version. For now, it allows you to:
- Select any instruments, 
- Control MIDI 
- Switch A/B 
Later on, I'll be adding a few more controls that I mainly use to adjust the sound.
With this little app, I no longer need VNC on my iPad. I simply point to the web SPA and control Pianoteq from there!
I have put the code on bitbucket, if any of you would like to try it out.
https://bitbucket.org/robert-rc2i/ptq-c...rc/master/
Enjoy.
Note to Modartt
-----
Here are a few suggestions for the API.  First let me thank you for this API, as it makes my setup easier!
- 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
- When providing a wrong command name, the Pianoteq instance crashes instead of returning an error 
- Metronome API - I could not find anything about the metronome 
- 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. 
Sordess







