Adjust pitches according to a pitch class set
One potential use of the “inlist” abstraction is to compare incoming pitches to a pitch class set.
One potential use of the “inlist” abstraction is to compare incoming pitches to a pitch class set.
This abstraction, which I call “inlist”, checks to see if a given number belongs to a previously-collected set of numbers. Numbers in the middle inlet are added to the set, and numbers in right inlet are deleted from the set. A clear message in the left inlet deletes the entire set.