Socket
Book a DemoInstallSign in
Socket

svg-midi-grid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg-midi-grid

Render a grid suitable for midi notes as SVG

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

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>  
`)
  • svg-midi-note — Render a Midi Note as SVG with velocitity and a selected state

License

MIT

FAQs

Package last updated on 01 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts