NBS
This is a library that lets you play music with the NBS (Note Block Studio) format.
Functions
loadNBS
sm.scrapcomputers.nbs.loadNBS( data )
Parses NBS data and returns the parsed data of it.
Arguments:
- data [ string ] The raw NBS data
Returns:
- [ table ] The parsed NBS data. Pass this into sc.nbs.createPlayer
createPlayer
sm.scrapcomputers.nbs.createPlayer( nbsData, speaker )
Creates a new player for the NBS
Arguments:
- nbsData [ table ] The NBS data.
- speaker [ Speaker ] The speaker to play it to
Returns:
- [ NBSPlayer ] The nbs player