hey list,
here's a collection of pure-Pd objects that enable some easy harmony computation.
first there's [d-modes], which, although it uses a slightly weird and clunky outlet interface, can give you entire scales based on any root note in all of the principal musical modes: ionian, dorian, phrygian, lydian, mixolydian, aeolian, locrian, pentatonic, pentatonic altered, and in sen.
next, there's [d-note], which converts a human-readable note representation like 'C 3' into a MIDI note like 60.
last, there's [d-triad], which spits out lists of MIDI notes to construct chords (not just triads). no longer do you need to remember the difference between minor 7 and minor major 7, nor to remember all of your key signature sharps and flats. just send it a sequence of messages like [mode mixolydian, root C 3, inversion 2, m7M ( and it will spit out a list of MIDI note values to play a second-inversion minor major 7 chord with root C 3 in the mixolydian mode. pretty handy? i think so.
also included are [d-default] and [d-default-symbol] which allow nice handling of default creation arguments when not all creation arguments are specified, [d-smooth~] which is just a [line~] wrapped up nice, and [g-date5] which is a five-output pure-pd [demux] replacement.
everything except the [d-smooth~] is documented with help patches. comments, as always, appreciated. let me know if you find it useful.
released as GPLv3.
chur d