<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>apparently when i thought it was running from your server it was running <br></div>locally, <br></div>so I downloaded it,  read your documentation and just changed it so that the index.html <br></div>loads the js from its own folder, it's kinda hard to follow but <br></div>looks like there is less overhead than a websocket server in pd<br></div>I say looks like, only from what is seen in the pd patch.<br></div>now how do i get it to speak FUDI?<br></div><div>the semicolons are preceded by a slash in your messagebox, not sure if that will work like a semicolon not preceded by a slash. <br></div><div>I would imagine that this would be ok to send  2d arrays right?<br></div><div>what about sequencing from javascript? <br></div><div>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 <br></div><div>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<br></div><div>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.<br></div>and another thing - do you have to  connect or open the connection everytime you send a message to the server from a web browser?<br></div>with sockets in JAVA you just open the connection once and it stays alive.<br></div>at any rate, nice job making the worst webserver in the world, lol<br></div>re: joe<br></div>did you see the pd websocket server?<br></div>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 <br></div>to reduce the number of connections and vanilarize it just for a simple fudi thing<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 17, 2016 at 6:03 AM, Billy Stiltner <span dir="ltr"><<a href="mailto:billy.stiltner@gmail.com" target="_blank">billy.stiltner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>so this could replace the JAVA udp tcp socket overhead  ?<br></div>works from here to your server and back.<br></div><div>havent tried it locally yet.<br></div>how did you figure it out?<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 3, 2016 at 10:03 PM, Chris McCormick <span dir="ltr"><<a href="mailto:chris@mccormick.cx" target="_blank">chris@mccormick.cx</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Aciles is the world's worst web server, implemented in Pd.<br>
<br>
Step 1: Download these two patches and open on your local machine:<br>
<br>
 * <a href="https://raw.githubusercontent.com/chr15m/aciles/master/web-server-help.pd" rel="noreferrer" target="_blank">https://raw.githubusercontent.<wbr>com/chr15m/aciles/master/web-s<wbr>erver-help.pd</a><br>
 * <a href="https://raw.githubusercontent.com/chr15m/aciles/master/web-server.pd" rel="noreferrer" target="_blank">https://raw.githubusercontent.<wbr>com/chr15m/aciles/master/web-s<wbr>erver.pd</a><br>
<br>
Step 2: Browse to <a href="http://aciles.mccormick.cx/" rel="noreferrer" target="_blank">http://aciles.mccormick.cx/</a><br>
<br>
Step 3: Send some messages between Pd and your browser.<br>
<br>
Some things you could do with this:<br>
<br>
 * Send messages from a web-app to Pd patches and visa versa.<br>
 * Control a headless Rasberry Pi Pd with a web-app on another machine.<br>
 * Control a libpd patch with a web-app on the same devices's browser.<br>
<br>
This software is for Joe's nephew.<br>
<br>
Cheers,<br>
<br>
Chris.<br>
<br>
--<br>
<a href="http://mccormick.cx/" rel="noreferrer" target="_blank">http://mccormick.cx/</a><br>
<br>
______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>