This package has been deprecated

Author message:

make-nlib can be installed via the @fluid-music/utils package

@fluid-music/make-nlib

0.1.4 • Public • Published

make-nlib

A super simple way to create nLibraries containing chords with a MIDI keyboard.

$ npm install -g @fluid-music/make-nlib
$ make-nlib output.js
Usage: $ make-nlib out.js # (Currently writing to "output.js")
connected: "Midi Through Port-0"
connected: "MPK Mini Mk II MIDI 1"

Now play some chords on any connected midi device to generate a file like the one below (use ctrl+c to stop recording).

const nLibrary = {
  "a": {
    type: "midiChord",
    name: "Cm",
    notes: [ 60, 63, 67 ],
  },
  "b": {
    type: "midiChord",
    name: "Ab",
    notes: [ 56, 60, 63 ],
  },
  "c": {
    type: "midiChord",
    name: "Bb",
    notes: [ 58, 62, 65 ],
  },
};

module.exports.nLibrary = nLibrary;

Readme

Keywords

none

Package Sidebar

Install

npm i @fluid-music/make-nlib

Weekly Downloads

1

Version

0.1.4

License

ISC

Unpacked Size

5.64 kB

Total Files

4

Last publish

Collaborators

  • charlesholbrow
  • zhiweigan