[PD] Websocket Client in Pd

Antoine Villeret antoine.villeret at gmail.com
Fri Jun 24 18:31:40 CEST 2016


Hi,

Jamoma [1] let you (among others things) control your patch through a web
page thanks to websocket.
Look into the websocket example.

Cheers

a

[1] http://jamoma.org/ and https://github.com/jamoma/JamomaPureData

--
do it yourself
http://antoine.villeret.free.fr

2016-06-24 16:46 GMT+02:00 s p <sebpiq at gmail.com>:

> You could maybe use rhizome and have the server send the websocket stream
> to Pd via OSC
>
> https://github.com/sebpiq/rhizome
>
> I can help if needed
>
> On Fri, Jun 24, 2016 at 5:22 PM, me.grimm <megrimm at gmail.com> wrote:
>
>> yeah I am basically looking to stream a data feed from a website for
>> example:
>>
>> wss://ws-feed.foobar.com
>>
>> with python:
>> https://github.com/Lawouach/WebSocket-for-Python
>>
>> which I'm having a hard time adapting to pyext. see:
>>
>> http://stackoverflow.com/questions/37995999/print-to-console-outside-of-the-class
>>
>> but maybe you awesome list peeps have better suggestions?
>>
>> On Fri, Jun 24, 2016 at 7:03 AM, patrice colet <colet.patrice at free.fr>
>> wrote:
>>
>>> by the way I wanted to know why writing a socket client in pd because it
>>> just take three lines of code for having a functionnal FUDI pdsend in
>>> almost all interpreted language...
>>>
>>> Le 24/06/2016 à 00:01, patrice colet a écrit :
>>>
>>> hello,
>>>
>>>  I'm doing web socket with pd and a patch taken in here,  it's a server
>>> using mrpeach/tcp objects, I've attached it again...
>>>
>>> my client is written in html5 there are pletores of online tutorials for
>>> doing the socket client working with this http server...
>>>
>>> Is it possible to run a python http server through pyext without admin
>>> rights?
>>>
>>> patco
>>>
>>>
>>> Le 23/06/2016 à 22:54, me.grimm a écrit :
>>>
>>> Hello,
>>>
>>> Anyone make a Websocket client for Pd? I see there is a server attempt
>>> out there (could not find external code, just references) but a client is
>>> what I need....
>>>
>>> Been trying to build one with python/pyext but running into a wall and
>>> thought I would just ask in case I could save myself some time.
>>>
>>> Thanks!
>>> m
>>>
>>>
>>>
>>> _______________________________________________Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>> --
>>> Patrice Colet
>>> fr: 0632660357
>>>
>>>
>>>
>>> _______________________________________________Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>> --
>>> Patrice Colet
>>> fr: 0632660357
>>>
>>>
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
>>
>> --
>> ____________________
>> m.e.grimm, m.f.a, ed.m.
>> syracuse u., tc3
>> megrimm.net
>> ____________________
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>>
>
>
> --
>
> *Sébastien Piquemal*
>
>  -----* @sebpiq*
>  ----- http://github.com/sebpiq
>  ----- http://funktion.fm
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160624/a8dd25d2/attachment.html>


More information about the Pd-list mailing list