Open elliot-nelson opened 4 years ago
You could use JSON crush to share urls, the compression is actually better then zipping in most use cases.
I agree. Song sharing could be easier to deal with.
?url=
in the URL (provided the server sends the correct CORS headers) — for example: https://keithclark.github.io/ZzFXM/tracker/?url=https://raw.githubusercontent.com/keithclark/ZzFXM/master/examples/songs/sanxion.js. I did this to allow authors to submit their open source songs to a ZzFXM repo I set up. It should with gists. Plenty to think about.
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.
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:
/2935239
and pull the song up. Would need to have some kind of netlify or heroku app running in this case.?gist=<gist url>
then users could upload a song to a public gist and make a link to it like that. No database necessary in that case.