Render a grid suitable for midi notes as SVG.
const html = require('bel')
const Grid = require('svg-midi-grid')
const grid = Grid()
document.body.appendChild(html`
<svg height=200 width=400>
${grid.render({
height: 201,
width: 401,
cellHeight: 5,
cellWidth: 10
})}
</svg>
`)
- svg-midi-note โ Render a Midi Note as SVG with velocitity and a selected state
MIT