「モジュール:TAMNAMS」の版間の差分
編集の要約なし |
編集の要約なし |
||
| 990行目: | 990行目: | ||
-- 日本語対応用 | -- 日本語対応用 | ||
function p.interval_quality_japanese(interval, input_mos) | |||
-- Get the step count of the interval. The sum of L's and s's will always | |||
-- determine what k-mosstep the interval is. | |||
local step_count = mos.interval_step_count(interval) | |||
-- Decode the quality | |||
local quality = p.decode_quality(interval, input_mos, abbrev_format) | |||
return string.format("%s%d度", quality, step_count) | |||
end | |||
function p.degree_quality_japanese(interval, input_mos) | function p.degree_quality_japanese(interval, input_mos) | ||
-- Get the step count of the interval. The sum of L's and s's will always | -- Get the step count of the interval. The sum of L's and s's will always | ||