keithclark / ZzFXM

A super small music generator for use in size-limited JavaScript productions
https://keithclark.github.io/ZzFXM/
MIT License
418 stars 33 forks source link

Song "Link" (share link for showing off a creation) #27

Open elliot-nelson opened 3 years ago

elliot-nelson commented 3 years ago

It would be nice if, while playing around with songs, there was a way to share a link to an embedded song in the tracker.

Max URL length is generally ~2000 characters, which is easy to go over for a song with a few patterns, so we might need to do one or more of:

KilledByAPixel commented 3 years ago

You could use JSON crush to share urls, the compression is actually better then zipping in most use cases.

https://github.com/KilledByAPixel/JSONCrush

keithclark commented 3 years ago

I agree. Song sharing could be easier to deal with.

Plenty to think about.

elliot-nelson commented 3 years ago

Ah, so probably anyone could push a song as a json file into any repo and load it with the URL option, right? If so that doesn't make it "easy" to share a song but you can make it easy for the recipient to play.