apparently when i thought it was running from your server it was running
locally,
so I downloaded it,  read your documentation and just changed it so that the index.html
loads the js from its own folder, it's kinda hard to follow but
looks like there is less overhead than a websocket server in pd
I say looks like, only from what is seen in the pd patch.
now how do i get it to speak FUDI?
the semicolons are preceded by a slash in your messagebox, not sure if that will work like a semicolon not preceded by a slash.
I would imagine that this would be ok to send  2d arrays right?
what about sequencing from javascript?
javascript isn't good enough even for a 90 bpm sequencer sending note ons and offs monophonically, the play position indicator falls behind then the messages start lagging, this is with setTimeOut() not the nifty new
html audio dsp clock, but i reckon you could implement a an edit  view piano roll  or multiple ones of the step sequencer in the browser and update
a storage object in pd just sending messages about when you add or delete a note. then when playing the sequence pd can send  a click every bar or something in case the html view gets behind.
and another thing - do you have to  connect or open the connection everytime you send a message to the server from a web browser?
with sockets in JAVA you just open the connection once and it stays alive.
at any rate, nice job making the worst webserver in the world, lol
re: joe
did you see the pd websocket server?
it has some similar parts but looks way more complicated and is not vanilla plus it uses iemnet tcp server or the onefrom mr peach, would be nice
to reduce the number of connections and vanilarize it just for a simple fudi thing


On Thu, Nov 17, 2016 at 6:03 AM, Billy Stiltner <billy.stiltner@gmail.com> wrote:
so this could replace the JAVA udp tcp socket overhead  ?
works from here to your server and back.
havent tried it locally yet.
how did you figure it out?

On Thu, Nov 3, 2016 at 10:03 PM, Chris McCormick <chris@mccormick.cx> wrote:
Hi all,

Aciles is the world's worst web server, implemented in Pd.

Step 1: Download these two patches and open on your local machine:

 * https://raw.githubusercontent.com/chr15m/aciles/master/web-server-help.pd
 * https://raw.githubusercontent.com/chr15m/aciles/master/web-server.pd

Step 2: Browse to http://aciles.mccormick.cx/

Step 3: Send some messages between Pd and your browser.

Some things you could do with this:

 * Send messages from a web-app to Pd patches and visa versa.
 * Control a headless Rasberry Pi Pd with a web-app on another machine.
 * Control a libpd patch with a web-app on the same devices's browser.

This software is for Joe's nephew.

Cheers,

Chris.

--
http://mccormick.cx/

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list