3.0.0 • Published 7 years ago

svg-midi-grid v3.0.0

Weekly downloads
11
License
MIT
Repository
github
Last release
7 years ago

svg-midi-grid

Render a grid suitable for midi notes as SVG.

screenshot

Usage

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>  
`)

Related

  • svg-midi-note Render a Midi Note as SVG with velocitity and a selected state

License

MIT

3.0.0

7 years ago

2.2.0

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago