Chord symbols to voicings, as Strudel renders them.
iex> TuningFork.Pattern.Voicing.render("Cm7")
[58, 63, 67, 70, 72]
Summary
Types
Functions
@spec dictionaries() :: [atom()]
The dictionary names render/2 takes.
Whether symbol is a chord symbol render/2 knows in dictionary.
The MIDI notes of chord voiced from a dictionary, or :error for a symbol it lacks.
Options
:dictionary— one ofdictionaries/0, default:ireal:anchor— a note name or MIDI number the voicing is placed against; default the dictionary's,c5for:ireal:mode—:below(top note at or under the anchor),:above(bottom note at or over it),:root(the root at or under it), or:duck(below, dropping a note that lands on the anchor); default the dictionary's:offset— how many voicings along the dictionary's list to move, default 0:n— one tone of the voicing instead of all of it, counting from 0 and wrapping into the octaves above and below:octaves— how far:nmoves per wrap, default 1