inherits from: Music21Object
Clef attributes
Attributes without Documentation: octaveChange, sign, line
Attributes inherited from Music21Object: id, groups
Clef properties
- mx¶
Given a music21 Clef object, return a MusicXML Clef object. This might be moved only into PitchClef.
>>> b = GClef() >>> a = b.mx >>> a.get('sign') 'G' >>> b = Treble8vbClef() >>> b.octaveChange -1 >>> a = b.mx >>> a.get('sign') 'G' >>> a.get('clefOctaveChange') -1Properties inherited from Music21Object: duration, offset, parent, priority
Clef methods
Methods inherited from Music21Object: searchParentByAttr(), getContextAttr(), setContextAttr(), addContext(), addLocation(), addLocationAndParent(), freezeIds(), getContextByClass(), getOffsetBySite(), getSiteIds(), getSites(), hasContext(), isClass(), purgeLocations(), removeLocation(), setOffsetBySite(), show(), unfreezeIds(), unwrapWeakref(), wrapWeakref(), write()
>>> a = TrebleClef()
>>> a.sign
'G'
inherits from: GClef, PitchClef, Clef, Music21Object
>>> a = BassClef()
>>> a.sign
'F'
inherits from: FClef, PitchClef, Clef, Music21Object
>>> a = AltoClef()
>>> a.sign
'C'
inherits from: CClef, PitchClef, Clef, Music21Object
>>> a = Bass8vaClef()
>>> a.sign
'F'
inherits from: FClef, PitchClef, Clef, Music21Object
>>> a = Bass8vbClef()
>>> a.sign
'F'
>>> a.octaveChange
-1
inherits from: FClef, PitchClef, Clef, Music21Object
>>> a = CBaritoneClef()
>>> a.sign
'C'
>>> a.line
5
inherits from: CClef, PitchClef, Clef, Music21Object
>>> a = CClef()
>>> a.sign
'C'
inherits from: PitchClef, Clef, Music21Object
CClef attributes
Attributes without Documentation: lowestLine
Attributes inherited from PitchClef: lilyName
Attributes inherited from Clef: octaveChange, sign, line
Attributes inherited from Music21Object: id, groups
CClef properties
Properties inherited from PitchClef: lily
Properties inherited from Clef: mx
Properties inherited from Music21Object: duration, offset, parent, priority
CClef methods
Methods inherited from Music21Object: searchParentByAttr(), getContextAttr(), setContextAttr(), addContext(), addLocation(), addLocationAndParent(), freezeIds(), getContextByClass(), getOffsetBySite(), getSiteIds(), getSites(), hasContext(), isClass(), purgeLocations(), removeLocation(), setOffsetBySite(), show(), unfreezeIds(), unwrapWeakref(), wrapWeakref(), write()
>>> a = FBaritoneClef()
>>> a.sign
'F'
>>> a.line
3
>>> b = CBaritoneClef()
>>> a.lowestLine == b.lowestLine
True
>>> a.sign == b.sign
False
inherits from: FClef, PitchClef, Clef, Music21Object
>>> a = FClef()
>>> a.sign
'F'
inherits from: PitchClef, Clef, Music21Object
FClef attributes
Attributes without Documentation: lowestLine
Attributes inherited from PitchClef: lilyName
Attributes inherited from Clef: octaveChange, sign, line
Attributes inherited from Music21Object: id, groups
FClef properties
Properties inherited from PitchClef: lily
Properties inherited from Clef: mx
Properties inherited from Music21Object: duration, offset, parent, priority
FClef methods
Methods inherited from Music21Object: searchParentByAttr(), getContextAttr(), setContextAttr(), addContext(), addLocation(), addLocationAndParent(), freezeIds(), getContextByClass(), getOffsetBySite(), getSiteIds(), getSites(), hasContext(), isClass(), purgeLocations(), removeLocation(), setOffsetBySite(), show(), unfreezeIds(), unwrapWeakref(), wrapWeakref(), write()
>>> a = FrenchViolinClef()
>>> a.sign
'G'
inherits from: GClef, PitchClef, Clef, Music21Object
>>> a = GClef()
>>> a.sign
'G'
inherits from: PitchClef, Clef, Music21Object
GClef attributes
Attributes without Documentation: lowestLine
Attributes inherited from PitchClef: lilyName
Attributes inherited from Clef: octaveChange, sign, line
Attributes inherited from Music21Object: id, groups
GClef properties
Properties inherited from PitchClef: lily
Properties inherited from Clef: mx
Properties inherited from Music21Object: duration, offset, parent, priority
GClef methods
Methods inherited from Music21Object: searchParentByAttr(), getContextAttr(), setContextAttr(), addContext(), addLocation(), addLocationAndParent(), freezeIds(), getContextByClass(), getOffsetBySite(), getSiteIds(), getSites(), hasContext(), isClass(), purgeLocations(), removeLocation(), setOffsetBySite(), show(), unfreezeIds(), unwrapWeakref(), wrapWeakref(), write()
>>> a = GSopranoClef()
>>> a.sign
'G'
inherits from: GClef, PitchClef, Clef, Music21Object
>>> a = MezzoSopranoClef()
>>> a.sign
'C'
inherits from: CClef, PitchClef, Clef, Music21Object
inherits from: Clef, Music21Object
PitchClef attributes
Attributes without Documentation: lilyName
Attributes inherited from Clef: octaveChange, sign, line
Attributes inherited from Music21Object: id, groups
PitchClef properties
- lily¶
- No documentation.
Properties inherited from Clef: mx
Properties inherited from Music21Object: duration, offset, parent, priority
PitchClef methods
Methods inherited from Music21Object: searchParentByAttr(), getContextAttr(), setContextAttr(), addContext(), addLocation(), addLocationAndParent(), freezeIds(), getContextByClass(), getOffsetBySite(), getSiteIds(), getSites(), hasContext(), isClass(), purgeLocations(), removeLocation(), setOffsetBySite(), show(), unfreezeIds(), unwrapWeakref(), wrapWeakref(), write()
>>> a = SopranoClef()
>>> a.sign
'C'
inherits from: CClef, PitchClef, Clef, Music21Object
>>> a = SubBassClef()
>>> a.sign
'F'
inherits from: FClef, PitchClef, Clef, Music21Object
>>> a = TenorClef()
>>> a.sign
'C'
>>> a.line
4
inherits from: CClef, PitchClef, Clef, Music21Object
>>> a = Treble8vaClef()
>>> a.sign
'G'
>>> a.octaveChange
1
inherits from: TrebleClef, GClef, PitchClef, Clef, Music21Object
>>> a = Treble8vbClef()
>>> a.sign
'G'
>>> a.octaveChange
-1
inherits from: TrebleClef, GClef, PitchClef, Clef, Music21Object