4.2.2 • Published 7 years ago
svg-midi-note v4.2.2
svg-midi-note
Render a Midi Note as SVG with velocity and a selected state.
Usage
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)
License
MIT