GlissProperties

class maelzel.core.symbols.GlissProperties(linetype='solid', color='', hidden=False)[source]

Bases: EventSymbol

Customizes properties of a glissando

It can only be attached to an event which starts a glissando

Parameters:
  • linetype – the linetype to use, one of ‘solid’, ‘dashed’, ‘dotted’

  • color – the color of the line

  • hidden – if True the glissando is not represented as notation. When applied to a Notation, the .gliss attribute of the Notation is set to false.

Attributes Summary

Methods Summary

applyToNotation(n, parent)

Apply this symbol to the given notation, inplace

checkAnchor(anchor)

Returns an error message if the event cannot add this symbol

Attributes Documentation

appliesToRests = False
exclusive = True

Methods Documentation

applyToNotation(n, parent)[source]

Apply this symbol to the given notation, inplace

Return type:

None

checkAnchor(anchor)[source]

Returns an error message if the event cannot add this symbol

Return type:

str