#NBS/Midi Music Engine

1 messages · Page 1 of 1 (latest)

true pine
#

This thing allows you to play .NBS (Note Block Studio Format) or MIDI (in a converted JSON format) songs in Bedrock Edition with multiplayer support and a highly performance player. Alongside, this includes an animated 'Note piano' that is fully JSON-UI.

It includes near full NBS features, such as panning, volume and pitch with full layer support with the ability to toggle a locked layer. Due to game limitations, Tempo changer and sound stopper are not supported and the song tempo locked at certain TPS range.

This video showcases the two same song, but the first one is trimmed down for Vanilla note range. The second one is an unmodified song directly from NBS itself.

humble nacelle
bronze pollen
#

Cool

spark tartan
#

nice!

true pine
#

This thing will come with a source code and a tutorial in upcoming days as I'm still working on ironing out issues, improving listening experience due to the game's limitation and making this thing more customizable as for now.

buoyant junco
spiral hornet
candid fiber
#

awesome

hollow belfry
hollow belfry
true pine
#

Even changing the ticks to 19 just feels like 15 or 10 ticks tbh.

true pine
#

That aside, i could slam for loop, since it loops from top to bottom instructions and not running everything at once. though i fear this will cause severe performance issues.

#

NBS is not like midi, as the community would push its limit by absolutely slamming like 200k notes at a short half of a minute song. this is 80% of NBS songs nowadays tbh.

#

This engine supports it all, but unfortunately, the game is the actual limit itself as it has very small active sounds or 'voices'. aka the amount of sounds that could be played at once, think it like the buffer, if it reaches the limit amount of playing sounds, it'll cut the sounds off.

Usually NBS voices would be 256 (extended to 1028 as an option due to community), but atleast in bedrock. it seems to be below 100. so, while it could play actual complex songs, albeit without tempo changers. the game says no :(

true pine
#

Oh, um. bedrock can only support up to 32 voices.

PS: Due to bedrock sound engine limitations, only 32 sounds can be played simultaneously. you'll see a lot of cutting off sounds here and there. you may be unable to hear surrounding areas as well while listening unfortunately.

hollow belfry
true pine
# hollow belfry I think animations can play sounds without tick limitation

If client-side, it might be likely with some huge cons since it has to support panning, volume/velocity and pitch. but for the server-side like this one. It's still tick-limited and will achieve the same but worse nonetheless.

Secondly, doing it only client-side will cause even more issues and performance issues related. at the same time requires a separate new tool.

#

Since the engine is also a server-side, meaning that zero resource pack is required.