Csound Csound-dev Csound-tekno Search About

[Csnd] Web IDE and websocket

Date2024-11-15 12:49
FromJohann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] Web IDE and websocket
Dear Csounders,

I'm still using intensively the web IDE for pedagogical projects, and it's amazingly useful - particularly in schools where it would take forever to install Csound on all computers.
Though, I'd love to be able to retrieve some sensors data from the web IDE, and it seems the websocket opcodes are missing.
Any idea on how complex it would be to add this websockets feature to this excellent Csound Web IDE ?

Regards

Date2024-11-15 13:56
FromHlöðver Sigurðsson
SubjectRe: [Csnd] Web IDE and websocket
this is possible but it could be complicated, if the sockets opcodes are to be used in its native form from within csound language, then a glue is missing between a socket js library and wasm instance. Adding it to web IDE is easy if this native binding/wrapper is in place.

On Fri, 15 Nov 2024 at 15:01, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote:
Dear Csounders,

I'm still using intensively the web IDE for pedagogical projects, and it's amazingly useful - particularly in schools where it would take forever to install Csound on all computers.
Though, I'd love to be able to retrieve some sensors data from the web IDE, and it seems the websocket opcodes are missing.
Any idea on how complex it would be to add this websockets feature to this excellent Csound Web IDE ?

Regards
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2024-11-15 18:14
FromJohann Philippe <000002c2c0737523-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Web IDE and websocket
Thanks for answering.
The team I'm working with can likely put one of their developers on the job. I'll let you know after my 28th november meeting.
Otherwise, I'll see if I can manage it.
Either ways, would you be okay for you if we talk after the 28th to see how it could be done ?

Le vendredi 15 novembre 2024 à 14:56:31 UTC+1, Hlöðver Sigurðsson <hlolli@gmail.com> a écrit :


this is possible but it could be complicated, if the sockets opcodes are to be used in its native form from within csound language, then a glue is missing between a socket js library and wasm instance. Adding it to web IDE is easy if this native binding/wrapper is in place.

On Fri, 15 Nov 2024 at 15:01, Johann Philippe <000002c2c0737523-dmarc-request@listserv.heanet.ie> wrote:
Dear Csounders,

I'm still using intensively the web IDE for pedagogical projects, and it's amazingly useful - particularly in schools where it would take forever to install Csound on all computers.
Though, I'd love to be able to retrieve some sensors data from the web IDE, and it seems the websocket opcodes are missing.
Any idea on how complex it would be to add this websockets feature to this excellent Csound Web IDE ?

Regards
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here