Coding 2026-06-21

Tags:
By Max Woerner Chase

Okay, so, I put together that prototype last night, but it doesn't... totally... make sense. And I think part of the issue is that I conflated at least two things.

Let's see if I can untangle that.

For one, scientific pitch notation allows for naming arbitrary notes, usually in the context of 12edo, but alternative tunings, like, should work.

The other thing I was thinking about is particular scales, which act like a mapping from note names to pitches, so I suppose they could produce scientific pitch names.

So, on one level, we'd have scales, and on a lower level, we'd have tuning systems.

Next, I'm pondering how I want to be able to combine a root pitch name with a specification of a scale, and on the one hand, refer to pitches by their position in the scale, and on the other, get scientific pitches out.

The clear conclusion here is that I shouldn't touch the code until I've written a better spec. And to write a better spec, I need to... actually put in the time and effort to write a better spec. Let's hope I can be disciplined tomorrow, instead of flitting off to some other corner of the project. For now, though, I should wind down.

Good night.