Module:Keyboard: Difference between revisions

Plumtree (talk | contribs)
Created page with "local p = {} function p.build(frame) local freqs_arg = frame.args[1] local freqs = {} for freq in freqs_arg:gmatch('%S+') do table.insert(freqs, tonumber(freq)) end..."
 
Plumtree (talk | contribs)
mNo edit summary
Line 46: Line 46:
s = s .. ' data-timbre-' .. instrument .. '="' .. table.concat(harmonic_spectrum, ' ') .. '"'
s = s .. ' data-timbre-' .. instrument .. '="' .. table.concat(harmonic_spectrum, ' ') .. '"'
end
end
s = s .. ' style="width: ' .. key_width .. 'px; height: ' .. key_height .. 'px">'
s = s .. ' style="width: ' .. key_width .. 'px; height: ' .. key_height .. 'px"></div>'
end
end
s = s .. '</div>'
s = s .. '</div>'