• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

web-midi-api-snippets

Web MIDI API Snippets for Atom
  • #javascript
  • #audio
  • #midi
njenkins
0.1.3 393
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Web MIDI API Snippets for Atom

A few snippets for working with the Web MIDI API within Atom

Installation instructions

Go to Atom > File > Settings then search for MIDI in the Packages tab. Once found, install

Development

$ cd ~/.atom/packages
$ git clone https://github.com/njenkins/atom-webmidi-snippets.git 
$ cd atom-webmidi-snippets
$ apm install
$ apm link

requestMIDIAccess

[midira]

navigator.requestMIDIAccess().then(${1:onSuccessCallback}, ${2:onErrorCallback});

MIDIOutput

send

[midios]

${1:MIDIOutput}.send(${2:data}, ${3:timestamp});

clear

[midioc]

${1:MIDIOutput}.clear();

MIDIPort

open

[midipo]

${1:MIDIPort}.open();

close

[midipc]

${1:MIDIPort}.close();

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by