This document is a simple example of web component to have a easy integration of Faust in an html page. A tag faust-compiler is created and integrated in the html page.
You have to run it with a http server because template is in an external file and most of browser doesn't allow cross browsing domain.
You can use the python SimpleHTTPServer on linux. (type "python -m SimpleHTTPServer 8000" in a console). The server have to be launched in parent directory of html file (to have the libfaust.js file).
Your browser must support import files.
Type your Faust code here :