Discover Packages
github.com/go-music/music
theory
note
package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Mar 27, 2016
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Note
An opinionated model of a musical note.
A Note is used to represent the relative duration and pitch of a sound.
Author: Charney Kaye
Expand ▾
Collapse ▴
Documentation
¶
In music, a pitch class is a set of all pitches that are a whole number of octaves apart, e.g., the pitch class C consists of the Cs in all octaves.
A Note is used to represent the relative duration and pitch of a sound.
A perfect octave is the interval between one musical pitch and another with half or double its frequency.
Note can be the Root of a Chord, Key or Scale.
NameOf a note will return its Class and Octave
Class of pitch for a note (across all octaves)
ClassNamed returns a pitch Class
Parse all forms using Regexp's against a string
Step from a class to another class, +/- semitones, +/- octave
Note models a musical note
Named note returns a Note model
OfClass pitch returns a Note model
ShiftTime to copy the note to another position in time.
Octave models a musical octave
Octave of text returns a new Octave
Source Files
¶
Click to show internal directories.
Click to hide internal directories.