The goal of this project is to develop a Web API for the Faust compiler allowing to do remote compilations.
In order to compile FaustWeb links against the following libraries:
Make sure to download the current development trunk of all these libraries and install. Then, the standard:
Select a file kisana.dsp and send it. The sent file can be a either a .dsp or an .zip archive containing a .dsp and .lib files. Next use the returned
For OSX :
osx/coreaudio-qt
osx/coreaudio-qt-midi
osx/csound
osx/jack-qt
osx/max
osx/plot
osx/puredata
osx/puredata-poly
osx/supercollider
osx/vst
osx/vsti
The local service run on the http://localhost:8888/ URL, and can be tested like in the following examples:
curl http://localhost:8888/targets
curl -F'file=@"clarinet.dsp";filename="clarinet.dsp"' http://localhost:8888/filepost
returned SHA key: 5ADBDAF2AFFF8387F4FCB9F05BA84E374DE3ABAF
curl http://localhost:8888/5ADBDAF2AFFF8387F4FCB9F05BA84E374DE3ABAF/android/smartkeyb/binary.apk --output binary.apk
Or with a single complete command:
curl -F'file=@"clarinet.dsp";filename="clarinet.dsp"' http://localhost:8888/compile/android/android/binary.apk --output binary3.apk
curl http://35.229.105.70/faustservice/targets
curl -F'file=@"clarinet.dsp";filename="clarinet.dsp"' http://35.229.105.70/faustservice/compile/android/android/binary.apk --output binary3.apk
curl http://35.229.105.70/faustservice/5ADBDAF2AFFF8387F4FCB9F05BA84E374DE3ABAF/android/android/binary.apk --output binary3.apk
journalctl -f /home/orlarey/FaustInstall/faustservice/faustweb
sudo systemctl restart faustweb
sudo systemctl restart apache2
curl http://35.190.180.34/targets
curl http://104.196.34.150/targets
curl localhost:8888/targets
curl -F'file=@"kisana.dsp";filename="kisana.dsp"' localhost:8888/filepost
curl -F'file=@"kisana.dsp";filename="kisana.dsp"' localhost:8888/compile/android/android/binary.zip --output kisana.apk
The remote compilation service run on the http://faustservice.grame.fr URL, and can be used like in the following examples:
curl http://faustservice.grame.fr/targets
curl -F'file=@"kisana.dsp";filename="kisana.dsp"' http://faustservice.grame.fr/filepost
curl -F'file=@"kisana.dsp";filename="kisana.dsp"' http://faustservice.grame.fr/compile/soul/soul/binary.zip --output kisana.zip