Tests of .show() of music21 within Notebooks

Music21 checks to see if its environment is a Notebook (Jupyter/Colab/JupyterLab) and uses different file formats for show() w/ MuseScore and MIDI (w/ music21j/midicube)

This file contains tests that currently work.

from music21 import *
c = corpus.parse('bwv269')
c.show()
../_images/notebook_show_tests_2_0.png

 

../_images/notebook_show_tests_2_2.png
c.show('midi')