NoteheadLine

class maelzel.core.symbols.NoteheadLine(kind='start', uuid='', color='', linetype='solid', text='')[source]

Bases: Spanner

A line conecting two noteheads

Parameters:
  • kind – one of ‘start’, ‘end’

  • uuid – used to match the start spanner

  • color – a css color

  • linetype – a valid linetype

  • text – a text attached to the line

Attributes Summary

Methods Summary

applyToNotation(n, parent)

Apply this symbol to the given notation, inplace

Attributes Documentation

appliesToRests = False

Methods Documentation

applyToNotation(n, parent)[source]

Apply this symbol to the given notation, inplace

Return type:

None