Expand description
The ticks and labels of a graph’s axes: the numbers behind music21’s
graph.axis classes.
An axis of music21’s reads its values from a stream and then says where its ticks go and what each says. The reading is the wheel’s, over whatever stream it is given; what the ticks are, given what was read, is here.
Structs§
- Measure
Mark - A measure an offset axis can tick: where it starts, its number, and whether it ends in a strong barline.
- Pitch
Labels - How a pitch axis labels its ticks: music21’s
PitchAxisattributes.
Enums§
- Measure
Span - Which of the measures an offset axis ticks: music21’s
minMaxMeasureOnly. - Octaves
- How a pitch axis writes octaves: music21’s
showOctaves, which isFalse,'few'orTrue. - Scale
- Whether a quarter-length axis is scaled: music21’s
useLogScale. - Tied
- Whether a note carries a tie on to the next.
Constants§
- STRONG_
BARLINES - The barlines a measure tick is never left out at: music21’s
bar.strongBarlineTypes.
Functions§
- dynamics_
max - The index of the last dynamic: the most a dynamics axis reaches.
- dynamics_
ticks - A tick for each dynamic from
mintomax, by its index indynamics.shortNames, written in TeX italics: music21’sDynamicsAxis.ticks. - is_
strong_ barline - Whether a barline type is a strong one.
- log_
label_ tag - What a quarter-length axis’s label gains for its scale: music21’s
labelLogTag, given the base written, or none for a linear axis. - measure_
ticks - The measure ticks of an offset axis, of the measures starting from
mintomax: music21’sOffsetAxis._measureTicks. - numeric_
ticks - About ten ticks at a power of ten apart, covering
mintomax: music21’sAxis.ticks. A missing bound is 0 or 10. - octave_
ticks - A tick at each octave of
startfrommintomax: music21’sPitchSpaceOctaveAxis.ticks. - offset_
end - Where a note’s bar starts and how long it is drawn, a little short of
its length so untied notes stand apart: music21’s
OffsetEndAxis.extractOneElement. - offset_
ticks - Ticks every
stepfrommintomax, rounded outward: music21’sOffsetAxis.tickswhere there are no measures. - pitch_
ticks - A pitch axis’s ticks from
mintomax, one a whole number: music21’sPitchAxis._pitchTickHelper. - quarter_
length_ value - Where a quarter length stands on a quarter-length axis: music21’s
dataFromQL. A grace note, of no length, stands atgrace.