Module:Infobox interval: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 85: | Line 85: | ||
}) | }) | ||
table.insert(infobox_data, { | if not ratio.zero and not ratio.inf then | ||
table.insert(infobox_data, { | |||
'[[Harmonic entropy]]', | |||
'~' .. u._round(i.harmonic_entropy(ratio_cents), 6) | |||
}) | |||
end | |||
local sound = frame.args['Sound'] | local sound = frame.args['Sound'] | ||