In [1]:
from music21 import *
In [2]:
# ignore this - just sets up inline display of output
%load_ext music21.ipython21.ipExtension
In [21]:
converter.parse("tinynotation: 3/4 c4 d8 f g16 a g f#").show()
Out[21]:
In [4]:
print (serial.rowToMatrix([2,1,9,10,5,3,4,0,8,7,6,11]) )
In [5]:
print (serial.getHistoricalRowByName('RowSchoenbergOp37').matrix() )
In [24]:
c = converter.parse('/Users/carol/Downloads/duet/edokomuri.krn')
c.show('musicxml')
In [7]:
sBach = corpus.parse('bach/bwv7.7')
sBach.show()
Out[7]:
In [23]:
sBach.show('braille')
In [9]:
graph.plotStream(sBach)
In [10]:
graph.plotStream(sBach, 'PlotHistogramPitchClass')
In [11]:
haydn = corpus.parse('haydn/symphony94/02')
plot = graph.PlotDolan(haydn)
plot.process()
In [35]: