Numuse Documentation

numuse.notation.Note

numuse.notation.Note

class numuse.notation.Note(note: int, musical_system=<numuse.musical_system.RBMS_Approximation object>)[source]

Bases: object

A Note from a musical system

Every number corresponds to a unique note or equivalently an octave it lives in and a note name.

In other words the note 1 13 25 37 are all identical, in terms of their true note name.

We will set 9 to 440hz, and we will consider the octave zero to contain the set of notes 0 to 11, octave 1 represents the notes 12 to 23 and so on.

Because of this we will represent notes by an octave offset and a note name

Parameters
  • note (int) – The absolute note

  • musical_system (RBMS_Approximation) – The underlying musical system

__init__(note: int, musical_system=<numuse.musical_system.RBMS_Approximation object>)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(note[, musical_system])

Initialize self.

octave_equivalent(other)

Free document hosting provided by Read the Docs.