Coding 2026-06-18
All right, let's see... Still a little scatter-brained to be touching code, so let's ponder the sound synthesis design a little more.
Suppose we're moving within the notes of a scale. Then we just need to specify the size of the interval, and not the quality. Now suppose we want to involve accidentals. So, that probably can be done by specifying the target accidental as well, and relying on the code to compensate. If we want to figure out exactly which intervals, then we can consider the quality as well as the size, and get something that then translates into a count of scale steps, or a vector of ratios. Once we're at that point, then it is trivial to derive a target frequency, and then get the ratio between them.
At this point, I need to step back and decide which area of the code would give me the best return on effort right now. I don't actually need to handle this interpolation to do synthesis, so the right course of action, I think, is to focus on re-implementing my sample code in a way that's compatible with this framework, and make sure that all still works. Doing that will require having some basic interval code compatible with the Ionian mode in 12edo. Once I've got that, I think the interesting thing to work on is beefing up the core synthesis code so it can do stuff like additive synthesis.
At that point, it'll be sort of usable for basic and also out-there kinds of stuff, and I'll have to strike some kind of a balance in order to build my skills with it while retaining my interest.
Anyway, it's late, better wrap up.
Good night.