Ask HN: Music Processing Pipeline?
https://news.ycombinator.com/item?id=2076842I had the thought today that music effects processing has a model similar to a functional programming or a unix pipeline. (inputs passed through filters or transforms).
Does anyone know of a library that would allow one to compose music in this paradigm?
What I'm thinking of is something that would let you define a sequence that represents the notes, and then send them through/apply effects to that sequence before they are output.
example: given a forward pipe operator |> in Haskell or Ocaml/F#: f |> x = x f (similar to a Unix | in operation)
where notes are represented somehow textually as a sequence (maybe letter and number for octave?) something like:
[4a, 4b, 4c, 3g#, 3d, 4a, 4f] |> high_pass_filter |> phaser |> output
I have no idea if this exists, but think it might be an interesting way to compose music. If anyone knows of library/application/language that works something like this, I'd be interested to hear.