music-suite / music-pitch

This repo has been merged into: https://github.com/music-suite/music-suite
http://music-suite.github.io
BSD 3-Clause "New" or "Revised" License
9 stars 9 forks source link

Chord/function representation #17

Closed hanshoglund closed 9 years ago

hanshoglund commented 10 years ago

See also #8

There is currently no representation for chord (besides lists of intervals). It could be interesting to wrap it in its own type to get the possibility to do inversions, alterations etc. There would be a set of functions to render chords into scores, representing various "playing styles" (i.e. broken chord, alberti bass, style brise etc).

import Music.Pitch

data Chord = Chord [Interval]

Eventually I want to have a representation of of scales and chords that is agnostic to musical style (i.e. not western/CMN-centric), but just using common pitches and intervals would be a starting point to build from.


(update Tor 16 Okt 2014 19:04:54 BST)

What is the difference between a "chord" and a "functions". What exactly does "Chord" mean?

Alternative terms:

hanshoglund commented 9 years ago

Duplicate/solved by #8, closing.