I was thinking, it could be nice to have a desktop version of PD that is restricted to only have the objects that WebPD has, so you can build up your patches and be pretty sure they'll work.
-Alex On Tue, May 5, 2015 at 12:50 AM, s p <seb...@gmail.com> wrote: > @Billy : sequencing your audio using JavaScript timers is the wrong > approach. Web Audio provides an API that allows exact scheduling of the > sound. Then you can use it also to fire callbacks which will allow you to > update your graphics. These callbacks will be fired at slightly inexact > times compared to audio, but they will globally stay in sync with audio > sometimes slightly before, sometimes slightly after. Here is an example > from a small library for scheduling things in Web Audio I have written : > http://sebpiq.github.io/WAAClock/demos/beatSequence.html So what you are > talking about is not really a problem. > > About WebPd, the scheduling and metro are not so great at the moment, but > when I'll have optimized it, you will be able to drive graphics and GUI > changes from a metro or any [send bla] object like this : > "Pd.receive('bla', updateUI)" > > On Tue, May 5, 2015 at 9:40 AM, Billy Stiltner <billy.stilt...@gmail.com> > wrote: > >> nice dream Chris. . >> What about ofx pd for droid? >> cant you run vanilla pd on an android? >> The thing about browser based stuff is syncing the graphics with the dsp. >> I have been making dhtml scale, mode, keyboard , and sequencer >> interfaces for xensynth. I use java sockets as a tcp/udp transport. >> would be really nice to have a websockets server added to pdsend/recieve >> and netsend/recieve. >> this would be awesome for libpd as well. >> Anyways with the browser based sequencer things get out of timing real >> quick using standard javascript timing. the resolution of the javascript >> timers is not good enough. >> hopefully soon I can skip using the javascript as the sequencer sending >> note messages to pd. and just have the sequencer modeled in pd as a dynamic >> symbol or something. That way the browser can do the nifty editing graphics >> for coloring a xenharmonic piano roll. as you add or move notes, the >> corosponding grid in pd is edited. if you play the sequencer then the play >> position cursor is all that needs to be updated on the web interface. just >> reset it ever loop if it gets out of sync, no problem. >> There is some new features of CSS/HTML/javaScript that make dynamic >> properties of elements really easy to code. >> https://archive.org/details/Xensynth10.01 >> most recent version >> >> https://archive.org/download/Xensynth10.01/xensynth10.14.5BrooklynMooreEdition.zip >> interface is xensynth/polysynth/RUNME2showhidemidi.pd >> and browser tuning plus mode control is: >> xensynth/burningship/pdapplet/javaSocketBridge/xensynthcontrol.html >> check out the sequencer section of the browser controls. it is not >> finished, just started actually and has no stop button, hehe. >> particularly this little snippet of code >> might be helpful in developing pd controls >> seqbuffer=seqbuffer + "<div id='" + j.toString() + "-" + i.toString() + >> "' class='seqelement' data-x= '" + j.toString() + >> "' data-y= '" + i.toString() + "'" + >> " data-rsx= '" + rsx + "'></div>"; >> http://html5doctor.com/html5-custom-data-attributes/ >> >> >> On Mon, May 4, 2015 at 8:37 AM, Chris McCormick <ch...@mccormick.cx> >> wrote: >> >>> LOL! >>> >>> On 04/05/15 20:20, s p wrote: >>> > My dream too :) >>> >> >> >> _______________________________________________ >> Pd-list@lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > > -- > > *Sébastien Piquemal* > > -----* @sebpiq* > ----- http://github.com/sebpiq > ----- http://funktion.fm > > _______________________________________________ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > >
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list