Problem : I am likely going to fork ror-player, and will change/delete/add the default tunes. For this I need to edit src/defaultTunes.ts, where there is a mix of data (rawTunes, a large object) and code (how to use this data to build the tunes). I don't want to edit code to do this.
Solution : Moving this rawTunes data to a json file in assets/. That way I can easily delete the original rawTunes and start over. (and probably .gitignore the file too)
Problem : I am likely going to fork ror-player, and will change/delete/add the default tunes. For this I need to edit
src/defaultTunes.ts, where there is a mix of data (rawTunes, a large object) and code (how to use this data to build the tunes). I don't want to edit code to do this.Solution : Moving this
rawTunesdata to a json file inassets/. That way I can easily delete the original rawTunes and start over. (and probably .gitignore the file too)