johnnesky / beepbox

An online tool for sketching and sharing instrumental melodies.
https://beepbox.co
MIT License
797 stars 167 forks source link

Exportable Instruments #19

Open ChefZander opened 3 years ago

ChefZander commented 3 years ago

The ability to export/import instruments into .json files to eg use it for another masterpice

johnnesky commented 3 years ago

Good question! Technically, you can sort of do it already. When you export a song to .json, that includes the instrument settings. Naturally, when you next import it, you'll get the whole song, including both the notes and instrument settings, but you can copy just the instrument settings (at the top of the instrument type menu) and paste them in a song in another tab, or just undo the song import and paste the instrument settings in whatever song you had open before you imported another.

ChefZander commented 3 years ago

But an automated system could remove the annoying searching thru files.

Micasddsa commented 2 years ago

I like this suggestion since i am in the works of making my own Beepbox instrument pack. How i think it should be implemented: On the "Preferences" box, there would be an option for importing and exporting instruments. when enabled, there would be import and export buttons under the copy and paste buttons (if they are enabled). when clicking on import, it opens a file browser to select a file, when selecting export, it opens the file browser to save a file.

i made 2 images of what this might look like. preference option. mockup 1 buttons. (poorly made icons made by yours truly.) Mockup 2

ChefZander commented 2 years ago

That is amazing! There could also be a community userscript/browser addon to add onto beepbox by injecting code into it.

I think i will experiment with that a little bit.

Mid-The-Modder commented 2 months ago

You may want to check out Dogebox2 , a mod that introduced such export/import buttons! Subsequently, other mods like UltraBox have ported this feature in as well as having many more features to play with.

I doubt this would ever actually be their own options in BeepBox though, so these are your best bets.