Installing symfonion on MacOSX
Symfonion is a JSON based language to create music works. It takes a JSON file as input and outputs a midi file or plays it on the fly.
Today, I installed it on my Macbook Air and would like to share the steps.
1. Install Java
Download Java from here And follow the steps described here if you don't have it yet.
2. Install symfonion binary
Download symfonion binary from here
Place it under /opt/local/bin
.
$ sudo mv symfonion-0.8.10.jar /opt/local/bin/
3. Create a shell to run symfonion
Create a file named /opt/local/bin/symfonion
.
#!/bin/bash java -jar /opt/local/bin/symfonion-0.8.10.jar $@
And change the permission to 755
.
$ sudo chmod 755 /opt/local/bin/symfonion
4. Done!
If you have installed symfonion
successfully, you will see the output below when you type symfonion
from a shell.
nikephoros:Music hiroshi$ symfonion usage: SYNTAX -c,--compile <arg> compile the specified file to a standard midi file. -h,--help print the command line usage. -I <arg> specify midi in port. -l,--list list the available midi devices. -o <arg> specify a file to which a compiled standard midi file is output. -O <arg> specify midi out port. -p,--play <arg> play the specifiled file. -r,--route run a midi patch bay. -V,--version print the version information. nikephoros:Music hiroshi$