Previous topic

music21.braille.segment

Next topic

music21.braille.translate

Table Of Contents

Table Of Contents

This Page

music21.braille.text

BrailleKeyboard

class music21.braille.text.BrailleKeyboard(lineLength=40)

BrailleKeyboard methods

BrailleKeyboard.addElement(**elementKeywords)
BrailleKeyboard.addHeading(heading)
BrailleKeyboard.addNoteGroupings(measureNumber, noteGroupingR, noteGroupingL)
BrailleKeyboard.makeNewLine()
BrailleKeyboard.makeNewLines()
BrailleKeyboard.recenterHeadings()

BrailleText

class music21.braille.text.BrailleText(lineLength=40, showHand=None)

Object that handles all the formatting associated with braille music notation.

BrailleText methods

BrailleText.addElement(**elementKeywords)
BrailleText.addHeading(heading)
BrailleText.addInaccord(inaccord)
BrailleText.addLongExpression(longExpr, withHyphen=False)
BrailleText.addMeasureNumber(measureNumber, withHyphen=False)
BrailleText.addNoteGrouping(noteGrouping, showLeadingOctave=False, withHyphen=False, forceHyphen=False, forceNewline=False)
BrailleText.addSignatures(signatures, withHyphen=False)
BrailleText.makeNewLine()
BrailleText.recenterHeadings()

BrailleTextLine

class music21.braille.text.BrailleTextLine(lineLength)

BrailleTextLine methods

BrailleTextLine.append(text, addSpace=True)
BrailleTextLine.canAppend(text, addSpace=True)
BrailleTextLine.canInsert(textLocation, text)
BrailleTextLine.insert(textLocation, text)