truj / midica

A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer.
https://www.midica.org/
Mozilla Public License 2.0
111 stars 13 forks source link

support import/export via CLI #56

Closed truj closed 4 years ago

truj commented 4 years ago

For ALDA exports (#55) this would enable using pipes. Cf. Dave's first comment in alda-lang/alda-core#25

Then we could use something like: java -jar midica.jar --cli --import-midi=PATH --export-alda=- | alda play

truj commented 4 years ago

@daveyarwood Midica can now import ALDA files. Therefore ALDA must be installed. So from now on Midica can be used as a GUI player for ALDA files. Under the hood these are the steps for importing: