Using pianoplayer inside Jupyter notebooks
See original GitHub issueHave you looked at integrating pianoplayer
with Jupyter notebooks?
I have a demo repository here which includes requirements to run the repo interactively on MyBinder.
To display the score should be simple if, if there’s a pianoplayer
function available that returns the score as a PNG or SVG image file.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How can I play a local video in my IPython notebook?
I've got a local video file (an .avi, but could be converted) that I would like to show a client (ie it is...
Read more >How to Use Jupyter Notebook: A Beginner's Tutorial - Dataquest
Use this tutorial to learn how to create your first Jupyter Notebook, important terminology, and how easily notebooks can be shared and ...
Read more >10 Youtubers Every Piano Player Needs to Watch in 2022
These are the Youtube masters piano players need to watch in 2022! Each of them brings you genuine, produced-for-Youtube piano & music content...
Read more >Using Jupyter Notebooks in Data Science Research and ...
Additionally, Jupyter Notebooks can be used to teach programming and computational literacy. This panel discussion aims to highlight Jupyter use in research ...
Read more >Installing Python Packages from a Jupyter Notebook
I most often see this manifest itself with the following issue: I installed package X and now I can't import it in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok i’ll let you know when I have one ready 😃)
The tool can be used from any python code (including jupyter notebooks) by instantiating a Hand object, setting the parameters, and then calling the generate method of Hand objects. The python code in bin/pianoplayer (after line 118) can give a good indication on how to do so.
The finger labels are written to a music21 stream (the one passed as an argument to the reader function that’s used to instantiate the noteseq attribute of the Hand instance), so by using the .show method of music21 streams, you can generate several formats to see the labelled score.