Tools for working with medieval and Renaissance music – see also the trecento directory which works particularly on 14th-century Italian music.
Inherits from: Note, NotRest, GeneralNote, Music21Object, JSONSerializer
MensuralNote attributes
Attributes without Documentation: scaling
Attributes inherited from Note: isNote, isRest, isUnpitched, beams, pitch
Attributes inherited from NotRest: stemDirection
Attributes inherited from GeneralNote: isChord, expressions, editorial, tie, lyrics, articulations
Attributes inherited from Music21Object: classSortOrder, hideObjectOnPrint, id, groups
MensuralNote properties
Properties inherited from Note: nameWithOctave, pitchClass, accidental, diatonicNoteNum, freq440, frequency, fullName, microtone, midi, midiEvents, midiFile, mx, name, octave, pitchClassString, pitchNames, pitches, ps, step
Properties inherited from GeneralNote: quarterLength, color, lily, lyric, musicxml
Properties inherited from Music21Object: duration, activeSite, beat, beatDuration, beatStr, beatStrength, classes, derivationHierarchy, measureNumber, offset, priority
Properties inherited from JSONSerializer: json
MensuralNote methods
- setModernDuration()¶
- set the modern duration from
Methods inherited from Note: setAccidental(), transpose()
Methods inherited from GeneralNote: addLyric(), augmentOrDiminish(), compactNoteInfo(), hasLyrics()
Methods inherited from Music21Object: addContext(), addLocation(), addLocationAndActiveSite(), freezeIds(), getAllContextsByClass(), getCommonSiteIds(), getCommonSites(), getContextAttr(), getContextByClass(), getOffsetBySite(), getSiteIds(), getSites(), getSpannerSites(), hasContext(), mergeAttributes(), purgeLocations(), removeLocationBySite(), removeLocationBySiteId(), searchParentByAttr(), setContextAttr(), setOffsetBySite(), show(), splitAtDurations(), splitAtQuarterLength(), splitByQuarterLengths(), unfreezeIds(), unwrapWeakref(), wrapWeakref(), write()
Methods inherited from JSONSerializer: jsonAttributes(), jsonComponentFactory(), jsonPrint(), jsonRead(), jsonWrite()
Inherits from: TimeSignature, Music21Object, JSONSerializer
An object representing a mensuration sign in early music:
>>> from music21 import *
>>> ODot = medren.Mensuration(tempus = 'perfect', prolation = 'major', scalingFactor = 2)
>>> ODot.barDuration.quarterLength
9.0
Mensuration attributes
Attributes without Documentation: standardSymbol, tempus, prolation, maximode, mode
Attributes inherited from TimeSignature: classSortOrder, inherited, beamSequence, symbolizeDenominator, symbol, beatSequence, summedNumerator, displaySequence, accentSequence
Attributes inherited from Music21Object: hideObjectOnPrint, id, groups
Mensuration properties
Properties inherited from TimeSignature: barDuration, beatCount, beatCountName, beatDivisionCount, beatDivisionCountName, beatDivisionDurations, beatDuration, beatLengthToQuarterLengthRatio, beatSubDivisionDurations, classification, denominator, lily, musicxml, mx, numerator, quarterLengthToBeatLengthRatio, totalLength
Properties inherited from Music21Object: activeSite, beat, beatStr, beatStrength, classes, derivationHierarchy, duration, measureNumber, offset, priority
Properties inherited from JSONSerializer: json
Mensuration methods
Methods inherited from TimeSignature: getAccent(), getAccentWeight(), getBeams(), getBeat(), getBeatDepth(), getBeatDuration(), getBeatOffsets(), getBeatProgress(), getBeatProportion(), getBeatProportionStr(), getOffsetFromBeat(), load(), loadRatio(), quarterPositionToBeat(), ratioEqual(), setAccentWeight(), setDisplay()
Methods inherited from Music21Object: searchParentByAttr(), getContextAttr(), setContextAttr(), addContext(), addLocation(), addLocationAndActiveSite(), freezeIds(), getAllContextsByClass(), getCommonSiteIds(), getCommonSites(), getContextByClass(), getOffsetBySite(), getSiteIds(), getSites(), getSpannerSites(), hasContext(), mergeAttributes(), purgeLocations(), removeLocationBySite(), removeLocationBySiteId(), setOffsetBySite(), show(), splitAtDurations(), splitAtQuarterLength(), splitByQuarterLengths(), unfreezeIds(), unwrapWeakref(), wrapWeakref(), write()
Methods inherited from JSONSerializer: jsonAttributes(), jsonComponentFactory(), jsonPrint(), jsonRead(), jsonWrite()