Thanks for posting this! I'm new to Pythonista and wouldn't have known what I missed, and music
is one of the main reason I bought the app.
Cut and paste code into Sublime Text editor. Then did some research and found out there's no simple
way to import it into Pythonista. Damn Apple iPhone rules!
Keyed it in and found out I loved the Pythonista editor! It does the best under the circumstances!
But a regular desktop is still easier.
The piano code worked well too. I intend to expand it to record and playback (for my choral music