In [1]:
from music21 import *
c = chord.Chord("C4 E4 G4")
c.isConsonant()


Out[1]:
True

In [2]:
load_ext music21.ipython21

In [3]:
c.show()



In [4]:
s = corpus.parse('bach/bwv65.2.xml')

In [5]:
s.show()



In [3]:
from music21 import *
d = chord.Chord("C4 E4 G4")
d.isConsonant()
d.show()


Out[3]:
<music21.ipython21.objects.IPythonPNGObject at 0x103cc2400>

In [ ]: