npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

giant-steps-edm-note-suggest

v0.0.2

Published

API for electronic dance music note suggestion by Music Artificial Intelligence Algorithms, Inc., in association with the GiantSteps project (http://www.giantsteps-project.eu/)

Downloads

4

Readme

Giant Steps EDM Note Suggest

API for electronic dance music note suggestion by Music Artificial Intelligence Algorithms, Inc., in association with the GiantSteps project (http://www.giantsteps-project.eu/)

Installation

$ npm install giant-steps-edm-note-suggest --save

Usage

To analyze music data and create a state transition matrix, run

$ node index.js

from comannd line. (As with other node packages, first you must have created a node_modules folder in the package root and run

$ npm install

in the node_modules folder, to get the dependencies.)

To use with your own music data, each song/piece must be in the form of a nested array, with dimensions for ontime in quarter-note beats counting from zero for measure 1 beat 1, MIDI note number, duration in quarter-note beats, channel number, and velocity (0-127). For example,

[
  [0, 39, 0.1354, 10, 69],
  [0, 56, 7.1604, 5, 73],
  [0.2500, 53, 0.3125, 3, 108],
  [1, 53, 0.4938, 3, 110],
  [1, 42, 0.2500, 10, 111],
  [1.2500, 39, 0.1146, 10, 59],
  [1.7500, 55, 0.5104, 3, 107],
  [2, 42, 0.2500, 10, 111],
  [2, 38, 0.3750, 10, 113],
  ...
]

These songs/pieces should be placed in a folder called jsps, following the folder structure of data/example, and the variable inOutPath in index.js should be changed to point to this location.

For an example of integration with a front end, see http://musicintelligence.co/apps/lct/201603/

Tests

$ npm test

Contributing

If you're interested in contributing, please contact us at [email protected].

Bugs can be reported to https://groups.google.com/d/forum/maia-inc-dev

Release History

  • 0.0.2 Documentation update
  • 0.0.1 Initial release