Csound Csound-dev Csound-tekno Search About

[Cs-dev] Websocket opcode

Date2015-05-31 18:59
FromEdward Costello
Subject[Cs-dev] Websocket opcode
AttachmentsNone  None  
Hi,

I made a websockets IO opcode and was just wondering if anyone wants to test, I have an Xcode project so I suppose if you have a Mac that would be best, but the source should compile on Linux also. It requires libwebsockets which can be installed from home-brew and I suppose other package managers as well.

The opcode sends and receives all variable and array types. Surprisingly I can send pretty large k rate arrays and audio rate variables without any buffer overruns which is pretty sweet. I reckon this will be really useful as a way to make guis using web pages as it makes passing data between a running instance of Csound and the browser/web view very easy.

I have the source up here https://github.com/eddyc/WebSocketOpcode if anyone wants a go,
Cheers
Ed

Date2015-05-31 19:08
Fromjpff
SubjectRe: [Cs-dev] Websocket opcode
I do not see websockets in my linux distro -- so I have slight negatis 
feelings
==John ff



------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-05-31 21:54
FromVictor Lazzarini
SubjectRe: [Cs-dev] Websocket opcode
I think this is what he means

https://libwebsockets.org/trac/libwebsockets

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 31 May 2015, at 19:08, jpff  wrote:
> 
> I do not see websockets in my linux distro -- so I have slight negatis 
> feelings
> ==John ff
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-05-31 21:56
FromVictor Lazzarini
SubjectRe: [Cs-dev] Websocket opcode
and ubuntu/debian appears to have libwebsockets-dev as an apt package

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 31 May 2015, at 21:54, Victor Lazzarini  wrote:
> 
> I think this is what he means
> 
> https://libwebsockets.org/trac/libwebsockets
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
>> On 31 May 2015, at 19:08, jpff  wrote:
>> 
>> I do not see websockets in my linux distro -- so I have slight negatis 
>> feelings
>> ==John ff
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net