m-yac / xen-calc

A multi-purpose calculator for microtonal(/xenharmonic) music
9 stars 1 forks source link

Use abbreviations: dup, dud, etc. #35

Open TallKite opened 1 year ago

TallKite commented 1 year ago

When you input an edo and get a list of intervals, the ups/downs names can be abbreviated: dup = double-up dud = double-down trup = triple-up trud = triple-down quup = quadruple-up quud = quadruple-down quip = quintuple-up quid = quintuple-down sextuple can't be abbreviated without looking like septuple, so the list ends here

The meaning of these abbreviations will be obvious from context because the table of intervals will look like this: minor 2nd = m2 upminor 2nd = ^m2 dupminor 2nd = ^^m2 etc.

Looks like the relevant code is in lib/edo.js

TallKite commented 4 months ago

I originally called 6\53 a downmid 2nd and 7\53 an upmid 2nd, and that's what xen-calc does currently. My reasoning was that double-upminor 2nd and double-downmajor 2nd were just too wordy, and users of 53edo would want more concise names. But the problem with upmid and downmid is that they sound like they are 2 edosteps apart when they are only 1 edostep apart. And they are indeed 2 edosteps apart in say 72edo. So using upmid and downmid in 53edo is a little misleading. Since I devised dup and dud, I've changed my mind, and I now prefer to call 6\53 a dupminor 2nd and 7\53 a dudmajor 2nd. Not at all misleading, and still fairly concise.

So I'd like to expand this feature request to include not using upmid and downmid in edos with an odd sharpness. Also, xen-calc should be able to accept dup, dud, etc. as input. And it should respond to input such as "upmid 3rd \ 53" with "did you mean dudmajor 3rd \ 53?"