by [TV] I'm making a mathematical sound rendering web application which is already in a working prototype phase, see here http://www.theover.org/cgi-bin/maxwav.tcl?(sin(2*%pi*110*x)*exp(-2*x)+(1/2)*sin(2*2*%pi*110*x)*exp(-4*x))/(1+(1/2)) (If you want to try: the above url cannot be clicked but must be pasted in the url space of the browser, or a few parentises will be missing) The result of the scripts in my example is a pretty-printed formula: [Image TV Wiki formula.gif] [Image TV Wiki gnuplot.gif] And a mpeg compressed soundfile (example [http://82.171.148.176/Wiki/math.mp3]). There are three tcl scripts involved, which communicate, and the setup allows for application management (for instance parallel use control) and distributed execution of parts (neither currently the case in this setup) and mostly was setup by me to be more safe on a general internet server. This is mainly done so that a user account which has hardly any permissions at all can handle the complicated web request followup calls to maxima, a C/Fortran compiler, latex and gnuplot, and which executes the program resulting from compiling the fortran rendered formula from the math package maxima. What follows are essential parts of the three scripts, but NOT the whole original scripts on the server being actually in use: the cgi-bin tcl script outline: ====== #!/bin/sh # \ exec tclsh "$0" "$@" # puts stdout "Content-type: text/html\n" proc notallowed {a} { puts stdout "This cgi script doesn't allow the use of the character/word\n" puts stdout "
\n $a\n\n" puts stdout "in the arguments on the url line, sorry" puts stdout "