I was playing with a program that generates Scala SCL files using an iterative polynomial, and am stumped by the error message from NYSTHI Scala: “error: scala not ASCENDING”
I didn’t want to log it as an issue for @synthi - does someone know what I’m doing wrong?
When I dump out the scale, the number in the ! comment is the constant between 1.0 (the root note) and 2.0 (an octave higher).
It’s kind of a subtle issue, all the scale steps you want to have in cents have to be like “100.0”, with the dot, but in your file you have “16”, “60”, “87” without the dots.
yeah “60” means “60/1” implicitly not “16.0” in SCL format.
When I load your SCL into surge xt (which doesn’t have the monotonic constraint on scale tones) you can see the two notes are just way out of whack in both the frequency and interval view.
Here’s our radial / parsed view of your original file. If I change those first two values to 60.0 and 87.0 I see the sequence more like you would expect
We can even do things like pick a keyboard mapping where the tuning center note is unmapped! Lots of those edge cases tested out. MIT licensed header only.
not just a visualizer! its an editor too! All the components are draggable and the synth retunes in realtime as you change the scale. Super handy! But glad you like it - thanks!