OctaveShift

class maelzel.core.symbols.OctaveShift(kind='start', octaves=1, uuid='')[source]

Bases: Spanner

An octave shift

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

  • octaves – number of octave to shift. Can be negative

  • uuid – used to match start and end spanner

Attributes Summary

Methods Summary

applyToNotation(n, parent)

Apply this symbol to the given notation, inplace

Attributes Documentation

modifiesScoringContext = True

Methods Documentation

applyToNotation(n, parent)[source]

Apply this symbol to the given notation, inplace

Return type:

None