Module:MOS: Difference between revisions
Better comments; rewrote et_tuning_by_hardness() function as mos_to_et() and several interval_to_et_step functions |
m Todo |
||
| Line 27: | Line 27: | ||
-- after the mos. | -- after the mos. | ||
-- - Functions that have to do with equal tunings will have "et" in its name. | -- - Functions that have to do with equal tunings will have "et" in its name. | ||
-- TODO: | |||
-- - Reduction functions (period-reduce and equave-reduce) should work based on | |||
-- how modular arithmetic works. EG, 0 mod 7 is 0, as is 7 mod 7 and -7 mod 7, | |||
-- and -3 mod 7 is 4. This means they should also be able to accept negative | |||
-- intervals in the sense that stacking downwards and +1 octave produces an | |||
-- inverted interval (EG stacking a perf 5th down and going up one octave is | |||
-- the same as going up a perf 4th). Whether this should be part of the reduce | |||
-- functions or be its own thing (invert?) is tbd. | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||