You can do this with any solution that allows you to execute code on the server.
Once your server code receives the response, it should execute Praat
taking in the data you've just sent. As far as I'm aware, this will
have to be from the filesystem (ie. you can't stream data to Praat,
you'll have to receive it all, save it to disk, and open it from
there).
You can do this by passing the location of the new (temprary?) file as
an argument to a script, and making Praat read it from there.
You'l;l probably have to use the "--pref-dir" option to manually
specify the location of the preferences directory, or the
"--no-pref-files" to specify you want to use none, because by default
Praat will attempt to read the preferences directory of the current
user, which in most cases will have no home (this caused setups like
this to fail in the past, but this has been solved since 5.4.15 [1]).
See here [2] for more (under "Calling Praat from a web server").
[1]: https://github.com/praat/praat/releases/tag/v5.4.15
[2]: http://www.fon.hum.uva.nl/praat/manual/Scripting_6_9__Calling_from_the_command_line.html
You can then have your script print to the Info window (ie. STDOUT)
and capture the output to do what you want with it.
Best,
José JoaquÃn Atria
www.pinguinorodriguez.cl
Post by ***@yahoo.com.tw [praat-users]hi~everyone, my first goal is write a web or APP to connect praat, I would
like to upload a sound file and it can analyze by praat, it might have pitch
or frequency or f0Min or f0Max, amd the analysis will display at the web or
APP, can anyone teach me how can I do? But I'm not good at java, I have
VB.NET or IO2, can it make possible? or I really need to use java script?