You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Suggestion] Ability to package custom instrument samples into .nbs file #239
Thanks for the suggestion! I've thought about this before, this would indeed make sharing songs a lot easier. The "Pack sounds to ZIP file" option added in 3.8.1 was intended to be an advancement in that direction, but I agree that packing everything into a single file would be even more convenient. Perhaps a middle-ground solution could be to package a ZIP file containing the .nbs file as well, not only the instruments.
If we ever do create a new file format for this purpose, it must be well thought-out: will the binary data of each sound file just be appended at the end of the current .nbs file structure, or will it be a different file type (maybe a ZIP file internally?) Also, will we keep the same file extension, or use a different one? (such as .nbsi?) And more importantly, would it be viable for plugins to take advantage of that new structure to simplify song loading? (Likely not, since songs are loaded server-side while resources are client-side). These are just some things to keep in mind if we do implement this in the future. :)
Activity
Bentroen commentedon Apr 2, 2021
Thanks for the suggestion! I've thought about this before, this would indeed make sharing songs a lot easier. The "Pack sounds to ZIP file" option added in 3.8.1 was intended to be an advancement in that direction, but I agree that packing everything into a single file would be even more convenient. Perhaps a middle-ground solution could be to package a ZIP file containing the .nbs file as well, not only the instruments.
If we ever do create a new file format for this purpose, it must be well thought-out: will the binary data of each sound file just be appended at the end of the current .nbs file structure, or will it be a different file type (maybe a ZIP file internally?) Also, will we keep the same file extension, or use a different one? (such as
.nbsi?) And more importantly, would it be viable for plugins to take advantage of that new structure to simplify song loading? (Likely not, since songs are loaded server-side while resources are client-side). These are just some things to keep in mind if we do implement this in the future. :)Bentroen commentedon Mar 22, 2026
Added in e01bd24 (part of release 3.11)!