The purpose of this example is to provide the simplest possible useful example
of running a Csound piece in a Web page. This example has been tested
in csound.node, CsoundQt, and Csound for Android. The following features are demonstrated:
Instantiating Csound in csound.node, with fallback for other environments.
Running Csound code from an HTML text area.
Using HTML buttons to start and stop Csound.
Displaying Csound's runtime and diagnostic messages, in real time, in an HTML text area.
Real-time control of a Csound instrument using an HTML input element (slider).
Just examine the code of this page to see how these things are done, it is all quite simple. You can edit the
Csound code and run the piece again to hear your changes.