Render a Midi Note as SVG with velocitity and a selected state
Render a Midi Note as SVG with velocity and a selected state.
const Note = require('svg-midi-note')
const note = Note()
const el = note.render({
height: 20,
width: 50,
velocity: 0.8,
selected: true
})
svg.appendChild(el)
MIT