💾 Archived View for thrig.me › blog › 2024 › 11 › 19 › gutter.gmi captured on 2024-12-17 at 10:41:10. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Yep, going right into the gutter with this posting. So from top to bottom, one has rain (fake) going into a gutter (also, fake) and draining from fake holes that trigger something, here mapped to MIDI note_on events. The gutter accumulates rain, and then adjacent cells (roughly) even out the water level between them. Once certain (arbitrary, random) thresholds of (again, fake) water levels are reached, that bucket is drained and a MIDI note_on event is generated for that hole in the gutter, where a certain pitch is associated with a certain hole. Assuming that there are not any bugs in the code that contradict any of this description.
rain falls randomly into | | | | | | | v v v v v v v | | | | | | | | | | | | | | | | buckets (accumulate and share) ------ --- ----------- ------ | | | v v v producing MIDI note_on events over time
What exactly results depends on the RNG and the tuning of various things (amount of "rain" supplied, and where, how the "water" is "leveled", etc). Productive uses, once again, are left as an exercise to the reader.
For more complexity, one might imagine a system of waterworks that accumulates and releases water in various ways, before the water eventually turns into note_on events (or whatever).