Skip to content

Convert Open Note Block Studio files (.nbs) into playable .lua files for ComputerCraft and its speaker system.

Notifications You must be signed in to change notification settings

connorhedgehog/NBStoLUA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

NBStoLUA

A Python script to convert Open Note Block Studio files (.nbs) into .lua files for ComputerCraft and its speaker system.

Usage

This projects requires pynbs

  1. Download the repository, and move nbstolua.py to the same folder as your .nbs file
  2. Open nbstolua.py with command prompt and enter the name of the .nbs file
  3. Once it's finished, find the noteblock.lua file in the same folder as the other two files
  4. Move noteblock.lua into ComputerCraft and run it. Make sure your Computer has a speaker installed!

Limitations

ComputerCraft speakers only let you play 8 notes at a time. This shouldn't be an issue for most songs, but a few of the official Note Block Studio songs are affected by this.
Higher tempos might be an issue? The sleep function can't be lower than 0.05, and I assume it could get around there at extremely high tempos. Shouldn't be an issue for most songs though.

About

Convert Open Note Block Studio files (.nbs) into playable .lua files for ComputerCraft and its speaker system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages