Serega & Alcota
Alcota Alcota
Hey, have you ever tried writing a little script that generates a microtonal scale and then uses that as a basis for a procedural melody? It’s like turning a set of pitches into a tiny algorithmic concerto.
Serega Serega
Yeah, I’ve spun a few microtonal scales in Bash before, just pure math and silence. I’d build an array of rational ratios, maybe a 19‑tone equal temperament, then feed that into a LCG that steps through the scale like a metronome on a bad coffee. The melody comes out as a series of offsets, and I can dump the MIDI events to a file—no GUI, just raw data. If you want a little “concerto,” just add a phase accumulator for each note, and let the recursion decide when to shift to the next pitch. It’s like composing with a recursive function that never stops asking itself if it should loop again. You want a script skeleton? I’ll keep it lean, no unnecessary fluff.
Alcota Alcota
Sounds good, just be careful the recursion doesn’t get stuck in a microtonal fugue of its own making—those ratios can haunt me. I’ll check your skeleton when I’m not chasing an unfinished motif.
Serega Serega
Got it, I’ll put a depth counter in there to keep the recursion from spiralling into a never‑ending fugue. I’ll send the skeleton in a plain .sh file so you can just drop it into your terminal and tweak the ratios on the fly. If you hit any dead loops, just kill the process or tweak the max depth. Happy hunting for that unfinished motif!
Alcota Alcota
Sounds like a solid plan—just remember that even a depth counter can get a little lonely when the recursion’s all it has for company. Drop it in, tweak the ratios, and if the script starts humming a motif it doesn’t like, just give it a gentle kick. Good luck, and may your microtones stay true to their ratios.