New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSP protocol #4
Comments
Upload song via WiFiWhen app is connected to piano via WiFi the song is uploaded to piano not via MIDI-messages. Instead the song content is sent via TCP to a separate port (port number 10504). Example song 1
Example song 2
TCP data format for song upload
Upload song via USBCurrently we don't know how the song is uploaded when an iOS device is connected via lightning cable. It's also not clear if the similar possibility can be used when a PC is connected to USB-to-host port of the piano. Any info on this matter is much appreciated. Anyway our app can upload songs via WiFi even if MIDI-ports are connected via USB cable. That may be a little inconvenient but not a deal breaker. |
Our app must emulate Smart Pianist app.
We have investigated how Smart Pianist communicates with digital piano and this issue documents the protocol.
Yamaha CSP protocol
Smart Pianist sends commands to CSP via MIDI-port. MIDI-messages of type System Exclusive is used for that purpose. Messages of this kind allow hardware manufacturers to implement custom commands not described in official MIDI documentation.
CSP responds also with MIDI-messages, which Smart Pianist analyses to keep track of CSP current state.
Lines starting with
<-
represent response messages sent by piano to app.Playback Control
Guide
Position
Volume
Tempo
Transpose
Parts
Response contains info about switched on/off channels (a message for each channel):
Stream lights
Guide Type
Quick Start
MIDI Part Channel
Balance:
Position Info During Playback
The text was updated successfully, but these errors were encountered: