Trinket Music Tool

I have been digging deep into Counterpoint recently. Over time, I realized that I have scripted Counter-melodies but I am certain that I filled the requirements to ensure I have a written true Counterpoint.  In reality, it seems that …

  1. Counter-melodies are two or more melodies moving around each other.
  2. But Counterpoint fulfills a number of requirements.

Through my research, I landed on a open source Music Theory Textbook. The site grants no information by about the author(s) involved.  

As I start parsing the pages, I noticed how elegant the music notation looked on the web. All support for their notation was provided by Trinket.io. 

I am leaving this here as a resource to you and myself. Enjoy! 

# notes
C to B = from bass clef C to B below middle C
c to b = from middle c to the middle of treble clef

# octaves
CC to BB = each additional repeated note lowers the octave by 1 (limit 3)
c' to b' = each additional repeated ' raises the octave by 1 (limit 5)

# rests
r = rest

# chords
<a b c> = can contain an arbitrary amount of notes

# accidentals - valid on notes
- = flat (limit 2 per note)
# = sharp (limit 2 per note)
n = natural (limit 1 per note)

# durations - valid after chord, rest and note
[0-9]+ = integer duration value
.      = you can add a dot with or without an integer duration

# ties - valid on notes and chords
~ = ties to the next note

# tuplets
dup{a b}    = can contain any 2 notes
trip{a b c} = can contain any 3 notes

Leave a Reply

Your email address will not be published. Required fields are marked *