How to turn JSON output back into a Musescore file?
I am using some of the command line options to try and batch convert a large number of files, specifically transpose from bass clef to treble clef, so basically just move a single note line up several octaves. I have discovered the command line usage of:
MusicStation:~ dmcgilli$ /Applications/MuseScore\ 3.app/Contents/MacOS/mscore ~/Desktop/TestTranspose.mscz --score-transpose '{"mode": "by_interval", "direction": "up", "transposeInterval": 25, "transposeKeySignatures": true}'
And that works, but what returns is a giant blob of JSON which, great, something happened, but what do I do with that blob to turn it into its own Musescore file? I need that to be a net new transposed file ..somewhere.
I can pipe the results into a txt file with:
MusicStation:~ dmcgilli$ /Applications/MuseScore\ 3.app/Contents/MacOS/mscore ~/Desktop/TestTranspose.mscz --score-transpose '{"mode": "by_interval", "direction": "up", "transposeInterval": 25, "transposeKeySignatures": true}' >> Blob.json
but then what? How does Musescore do anything with that?
Still using Musescore 3.6 on El Capitan.
Comments
Duplicate of https://musescore.org/en/node/341539
In reply to Duplicate of https:/… by Jojo-Schmitz
Posted this here because it is probably more likely developers would use this JSON aspect more frequently than casual users.
It is not clear what to do with that JSON output, as far as turning it into a mscz file.