npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

svg-midi-note

4.2.2

@juliangruber

npmHomeRepoSnykSocket
Downloads:0
$ npm install svg-midi-note
DailyWeeklyMonthlyYearly

svg-midi-note

Render a Midi Note as SVG with velocity and a selected state.

screenshot 0

screenshot 1

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