brown.managed.instruments

classes

permalink view source

Instrument

Basic information on an instrument's notation conventions.

This should be thought of as a basic enumeration of fixed information. To create a new instrument, subclass this and set its various class attributes.

Notably, instruments are not meant to be actually instantiated. They have no __init__ method.

class attributes

name: str The full name of this instrument. permalink view source

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

family: InstrumentFamily The general category of this instrument. permalink view source

A trumpet written in sounding pitch

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument

A two-staff piano

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument

A general purpose violin

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument

A Violin with different naming for first violin.

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument

A Violin with different naming for second violin.

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument

A general purpose viola.

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument

A general purpose cello.

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument
permalink view source

Violoncello (Cello)

A general purpose cello, with its more traditional name.

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument

A general purpose bass.

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument
permalink view source

Contrabass (Bass)

A general purpose bass, with its more traditional name.

inherited class attributes

name: str The full name of this instrument. permalink view source

inherited from Instrument

short_name: str The shortened version of this instrument's name. permalink view source

This is the name that will typically appear on systems after the first one. For example, "Violoncello" might be shortened to "Vc."

inherited from Instrument

staves: List[tuple(ClefType, Transposition)] Default clefs and transpositions. permalink view source

This specifies the default properties of the staves this instrument typically uses. For most instruments, this will be a single staff.

Each staff is given in a tuple of the form: (ClefType, Transposition). To not use any Transposition set that value to None

inherited from Instrument

family: InstrumentFamily The general category of this instrument. permalink view source

inherited from Instrument