Module:Infobox interval: Difference between revisions

Plumtree (talk | contribs)
mNo edit summary
Plumtree (talk | contribs)
mNo edit summary
Line 230: Line 230:
'[[File:' .. sound .. '|270px]]<br/><small>[[:File:' .. sound .. '|[sound info]]]</small>'
'[[File:' .. sound .. '|270px]]<br/><small>[[:File:' .. sound .. '|[sound info]]]</small>'
})
})
elseif cents then
elseif regular then
local hz = 2 ^ (math.log(440)/math.log(2) + cents/1200)
local hz = 2 ^ (math.log(440)/math.log(2) + cents/1200)
table.insert(infobox_data, {
table.insert(infobox_data, {