Skip to content

bobbify/flying-squid-jukebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Allows the .nbs file format to run on flying squid.

Place in the plugins folder

Example use:

const Song = require("./flying-squid-jukebox/index.js");

module.exports.server = function (serv) {
  let song = new Song("example.nbs", serv, {
    tempo: 1, //20 is the default tempo
    repeat: true,
  });

  song.play();
};

Additional features

song.updateSpeed(30) //Change tempo during rendition

song.pause() //Pause the song at the current note

About

Allows the .nbs file format to run on flying squid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published