Installation

Scribbletune is a node module. You can install it using npm:

npm install scribbletune

Requirements

Scribbletune works in both Node.js and browser environments:

  • For Node.js: Scribbletune can generate MIDI files that you can import into your DAW.
  • For browsers: Scribbletune can play the clips directly in the browser using the Web Audio API.

Getting Started

After installation, you can import Scribbletune in your project:

// Using require
const scribble = require('scribbletune');
 
// Or using ES6 imports
import scribble from 'scribbletune';

Now you're ready to start creating music with Scribbletune! Check out the Core API section to learn about the available methods.