Read Me
FaustWeb
========
The goal of this project is to develop a web API for the Faust compiler allowing to do remote compilations.
LIBRARIES
In order to compile faustweb links against the following libraries:
libarchive (sudo apt-get install libarchive-dev)
boost (sudo apt-get install libboost-filesystem-dev libboost-program-options-dev)
libcryptopp (sudo apt-get install libcrypto++-dev)
libmicrohttpd
Make sure to download the current development trunk of all these libraries.
Then, the standard
mkdir build && cd build
../configure
make
sudo make install
To use FaustWeb
================
./faustweb starts faustweb on port 8888
from a browser :
================
http://localhost:8888/
select a file kisana.dsp and send it
Le fichier envoyé peut être soit un .dsp soit une archive .zip contenant un .dsp et des .lib
now use the returned <key> for example cf55531c580cc7d3485a5161259f0571d3e6bdef
// API indépendamment de toute architecture
===========================================
http://localhost:8888/<key>/src.cpp renvoie le fichier 'src.cpp' contenant le programme cpp résultant
http://localhost:8888/<key>/svg.zip renvoie une archive 'svg.zip' contenant un dossier kisana-svg avec tous les fichiers .svg
http://localhost:8888/<key>/mdoc.zip renvoie une archive 'mdoc.zip' contenant un dossier kisana-mdoc avec toute la documentation automatique
// API propre à chaque architecture
===================================
http://localhost:8888/<key>/<plateforme>/<architecture>/binary.zip renvoie l'archive 'binary.zip' contenant le ou les binaires
http://localhost:8888/<key>/<plateforme>/<architecture>/src.cpp le source avec l'architecture
// liste des architectures disponibles pour chaque plateforme
=============================================================
pour osx :
osx/coreaudio-qt
osx/jack-qt
osx/supercollider
osx/vsti
osx/csound
osx/max-msp
osx/puredata
osx/vst
//
// forger un port avec curl
curl -F'file=@"/Users/yannorlarey/Develop/faust/examples/highShelf.dsp";filename="highShelf.dsp"' http://localhost:8080/filepost