bbloomf / jgabc

http://bbloomf.github.io/jgabc/
The Unlicense
99 stars 48 forks source link

Command line use #56

Open dpk opened 3 years ago

dpk commented 3 years ago

It would be nice if there were command-line versions of the tools, so one could do something like

gabctranscribe words.txt music.gabc > words-and-music.gabc

and produce combined GABC files in batch that way. The psalm tone tool would likely be somewhat tricky to set up this way given its large number of configuration options, but the GABC transcription tool is quite simple by comparison. It would ‘just’ be a matter of pulling out the actual code which integrates words and music together into a separate module which could be used both by the web tool online, and by a Node.js-powered command line tool.

bbloomf commented 3 years ago

Yes, this would be great. Unfortunately I don't have time to work on this right now. The whole codebase should really be refactored, and everything related to combining texts with GABC could go into its own project, which could have a command line interface.