Directory

polymer-midi-player - Vaadin Add-on Directory

MIDI Player Web Component polymer-midi-player - Vaadin Add-on Directory
# polymer-midi-player [![npm](https://img.shields.io/npm/v/polymer-midi-player.svg)](https://www.npmjs.com/package/polymer-midi-player) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/polymer-midi-player) ## MIDI Player Web Component ![midi-player](https://jazz-soft.github.io/img/midi-player.png) Playing MIDI files via *Web Audio* and *Web MIDI* ## Usage ### Install the Web Component `npm install polymer-midi-player --save` ### HTML ```html ``` ```html ``` ## Attributes `src` - MIDI file URL `data` - contents of the MIDI file as String; can be used as an alternative to `src` `autoplay` - start playback immediately `loop` - the number of repeats, or `true` for an infinite loop ## API `play()` `pause()` `resume()` `stop()` ## Testing with Polymer Make sure the Polymer CLI is installed: `npm install -g polymer-cli` In the project directory: run `npm install` run `polymer serve --open` ## Non-Polymer version https://github.com/jazz-soft/JZZ-gui-Player
View on NPM
View on GitHub

polymer-midi-player version 0.0.0
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.6.3 * jzz-gui-player#^1.0.1 * jzz-midi-smf#^1.0.6 * jzz-synth-tiny#^1.0.3

polymer-midi-player version 0.0.1
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.6.3 * jzz-gui-player#^1.0.1 * jzz-midi-smf#^1.0.6 * jzz-synth-tiny#^1.0.3

polymer-midi-player version 0.0.2
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.6.3 * jzz-gui-player#^1.0.1 * jzz-midi-smf#^1.0.6 * jzz-synth-tiny#^1.0.3

polymer-midi-player version 0.0.3
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.6.3 * jzz-gui-player#^1.0.2 * jzz-midi-smf#^1.0.7 * jzz-synth-osc#^1.1.1 * jzz-synth-tiny#^1.0.3

polymer-midi-player version 0.0.4
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.6.4 * jzz-gui-player#^1.0.2 * jzz-midi-smf#^1.0.7 * jzz-synth-osc#^1.1.1 * jzz-synth-tiny#^1.0.3

polymer-midi-player version 1.0.0
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.6.4 * jzz-gui-player#^1.0.2 * jzz-midi-smf#^1.0.7 * jzz-synth-osc#^1.1.1 * jzz-synth-tiny#^1.0.3

polymer-midi-player version 1.0.1
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.6.5 * jzz-gui-player#^1.0.2 * jzz-midi-smf#^1.0.8 * jzz-synth-osc#^1.1.1 * jzz-synth-tiny#^1.0.3

polymer-midi-player version 1.0.2
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.6.6 * jzz-gui-player#^1.1.0 * jzz-midi-smf#^1.1.1 * jzz-synth-tiny#^1.0.5

polymer-midi-player version 1.0.3
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.7.1 * jzz-gui-player#^1.1.8 * jzz-midi-smf#^1.1.5 * jzz-synth-tiny#^1.0.6

polymer-midi-player version 1.0.4
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.7.1 * jzz-gui-player#^1.2.0 * jzz-midi-smf#^1.1.5 * jzz-synth-tiny#^1.0.8

polymer-midi-player version 1.0.5
### Dependencies * @polymer/polymer#^3.1.0 * @webcomponents/webcomponentsjs#^2.1.3 * jzz#^0.7.3 * jzz-gui-player#^1.2.3 * jzz-midi-smf#^1.1.6 * jzz-synth-tiny#^1.0.9