Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

loopscript

0.0.9 • Public • Published

LoopScript

Please visit the homepage for documentation and live demos: http://loopscript.com/

Released under the Boost Software License (Version 1.0).

Installation:

npm install -g loopscript

Commandline Usage:

Syntax: loopscript [-v] file.loopscript outputFilename [sound name]

        Sound name defaults to the last sound defined in the LoopScript.
        -h,--help         This help output
        -v,--verbose      Verbose output

Module Usage:

var loopscript = require("loopscript");

// Writing to WAV file
loopscript.render({
    script: "tone tone1",
    wavFilename: "output.wav",
    readLocalFiles: true,
    log: {
        verbose: function(text) {
            console.log(text);
        },
        error: function(text) {
            console.error("ERROR: " + text);
        }
    }
});

install

npm i loopscript

Downloadsweekly downloads

9

version

0.0.9

license

Boost

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability