Csound Csound-dev Csound-tekno Search About

[Csnd] Live.csound as desktop PWA

Date2025-02-15 17:02
FromJean Basile Sosa
Subject[Csnd] Live.csound as desktop PWA
Hello,

Could you tell me how to install live.csound as a standalone desktop application? Are there any pre-requisites or things to know in particular? I'm currently working on an old osx (10.13), hoping this won't be a problem...

Thanks for your help,

Friendly regards 

Jean-Basile 

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

Date2025-02-16 23:09
FromSteven Yi
SubjectRe: [Csnd] Live.csound as desktop PWA
Hi Jean-Basile,

If you're using Chrome or Brave, there is a "Save or Share" menu option from the menu in the upper right (next to the profile picture). From there there is a menu option "Install Page as App..." that should do the job. 

Cheers!
Steven

On Sat, Feb 15, 2025 at 12:02 PM Jean Basile Sosa <sosa.jeanbasile@gmail.com> wrote:
Hello,

Could you tell me how to install live.csound as a standalone desktop application? Are there any pre-requisites or things to know in particular? I'm currently working on an old osx (10.13), hoping this won't be a problem...

Thanks for your help,

Friendly regards

Jean-Basile

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

Date2025-03-22 10:32
FromRisto Kuusisto
Subject[Csnd] Remote UI for Csound
Hello all !

I started to google what is available for separation of an independently running Csound
and a UI locating in another computer. I think this could be a common situation with e.g.
Raspberry PI. Such projects like MOD or PiPedal seem to use something like this with
LV2-plugins. Typically it is nice if the UI-side is running in e.g. a Android-phone or -tablet.

I found this one related to CsoundQt:


So it is possible  to create QML-files from Csound QT-widgets
which can be compiled to some working UI. (compiler, development environment ??)

Another basic feature that is already available in Csound:


By using that half of the problem is already solved. But what about the UI-side?
Any suggestions, trials, examples etc ?

--Risto
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

Date2025-03-22 11:05
FromTarmo Johannes
SubjectRe: [Csnd] Remote UI for Csound
Hi Risto!

Yes, I created CsoundRemote years ago and have used in many many cases, it has turned very useful for me.
Especially nowadays using ChatGPT to create UI-s in QML can  be quite simple. Also, you can export the main widgets from CsoundQt to QML and use it in CsoundRemote.

What can be interesting for you -  Csound 7 can be controlled remotely also via OSC now:  https://csound.com/manual/misc-udp-server/
oh, the page is down or moved elsewhere at the moment...

anyway, controlling via OSC is an absolutey great feature and opens up possibilities to control Csound via OpenStageControl or other OSC apps, I suggest to look into it.

Best!
tarmo



Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com>) kirjutas kuupäeval L, 22. märts 2025 kell 12:32:
Hello all !

I started to google what is available for separation of an independently running Csound
and a UI locating in another computer. I think this could be a common situation with e.g.
Raspberry PI. Such projects like MOD or PiPedal seem to use something like this with
LV2-plugins. Typically it is nice if the UI-side is running in e.g. a Android-phone or -tablet.

I found this one related to CsoundQt:


So it is possible  to create QML-files from Csound QT-widgets
which can be compiled to some working UI. (compiler, development environment ??)

Another basic feature that is already available in Csound:


By using that half of the problem is already solved. But what about the UI-side?
Any suggestions, trials, examples etc ?

--Risto
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

Date2025-03-22 11:25
Fromjoachim heintz
SubjectRe: [Csnd] Remote UI for Csound
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
	joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
> 
> Yes, I created CsoundRemote years ago and have used in many many cases, 
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite 
> simple. Also, you can export the main widgets from CsoundQt to QML and 
> use it in CsoundRemote.
> 
> What can be interesting for you -  Csound 7 can be controlled remotely 
> also via OSC now: https://csound.com/manual/misc-udp-server/  csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
> 
> anyway, controlling via OSC is an absolutey great feature and opens up 
> possibilities to control Csound via OpenStageControl or other OSC apps, 
> I suggest to look into it.
> 
> Best!
> tarmo
> 
> 
> 
> Kontakt Risto Kuusisto ( >) kirjutas kuupäeval L, 22. märts 2025 
> kell 12:32:
> 
>     Hello all !
> 
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
> 
>     I found this one related to CsoundQt:
> 
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     
> 
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
> 
>     Another basic feature that is already available in Csound:
> 
>     https://csound.com/docs/manual/udpserver.html      docs/manual/udpserver.html>
> 
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
> 
>     --Risto
>     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  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

Date2025-03-22 11:37
FromDave Seidel
SubjectRe: [Csnd] Remote UI for Csound
I've been using Open Stage Control (O-S-C) for several years and like it very much, though I haven't done much with it lately. I typically run realtime Csound on a Raspberry Pi, and when I use Open Stage Control with it I run the O-S-C server on the same Raspberry Pi as Csound. Then I can access the UI from the browser on a tablet (or from any device with a browser).

Though I haven't tried this yet, you should also be able to use TouchOSC with Csound. TouchOSC is very good.

- Dave

On Sat, Mar 22, 2025 at 7:25 AM joachim heintz <jh@joachimheintz.de> wrote:
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
>
> Yes, I created CsoundRemote years ago and have used in many many cases,
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
> simple. Also, you can export the main widgets from CsoundQt to QML and
> use it in CsoundRemote.
>
> What can be interesting for you -  Csound 7 can be controlled remotely
> also via OSC now: https://csound.com/manual/misc-udp-server/ <https://
> csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
>
> anyway, controlling via OSC is an absolutey great feature and opens up
> possibilities to control Csound via OpenStageControl or other OSC apps,
> I suggest to look into it.
>
> Best!
> tarmo
>
>
>
> Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
> <mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
> kell 12:32:
>
>     Hello all !
>
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
>
>     I found this one related to CsoundQt:
>
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     <https://github.com/tarmoj/CsoundRemote/blob/master/README.md>
>
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
>
>     Another basic feature that is already available in Csound:
>
>     https://csound.com/docs/manual/udpserver.html <https://csound.com/
>     docs/manual/udpserver.html>
>
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
>
>     --Risto
>     Csound mailing list Csound@listserv.heanet.ie
>     <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-
>     bin/wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to https://github.com/csound/csound/issues
>     <https://github.com/csound/csound/issues> Discussions of bugs and
>     features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <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
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

Date2025-03-22 11:40
FromDave Seidel
SubjectRe: [Csnd] Remote UI for Csound
I should add that Open Stage Control and TouchOSC can both use MIDI and OSC.

On Sat, Mar 22, 2025 at 7:37 AM Dave Seidel <dave.seidel@gmail.com> wrote:
I've been using Open Stage Control (O-S-C) for several years and like it very much, though I haven't done much with it lately. I typically run realtime Csound on a Raspberry Pi, and when I use Open Stage Control with it I run the O-S-C server on the same Raspberry Pi as Csound. Then I can access the UI from the browser on a tablet (or from any device with a browser).

Though I haven't tried this yet, you should also be able to use TouchOSC with Csound. TouchOSC is very good.

- Dave

On Sat, Mar 22, 2025 at 7:25 AM joachim heintz <jh@joachimheintz.de> wrote:
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
>
> Yes, I created CsoundRemote years ago and have used in many many cases,
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
> simple. Also, you can export the main widgets from CsoundQt to QML and
> use it in CsoundRemote.
>
> What can be interesting for you -  Csound 7 can be controlled remotely
> also via OSC now: https://csound.com/manual/misc-udp-server/ <https://
> csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
>
> anyway, controlling via OSC is an absolutey great feature and opens up
> possibilities to control Csound via OpenStageControl or other OSC apps,
> I suggest to look into it.
>
> Best!
> tarmo
>
>
>
> Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
> <mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
> kell 12:32:
>
>     Hello all !
>
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
>
>     I found this one related to CsoundQt:
>
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     <https://github.com/tarmoj/CsoundRemote/blob/master/README.md>
>
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
>
>     Another basic feature that is already available in Csound:
>
>     https://csound.com/docs/manual/udpserver.html <https://csound.com/
>     docs/manual/udpserver.html>
>
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
>
>     --Risto
>     Csound mailing list Csound@listserv.heanet.ie
>     <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-
>     bin/wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to https://github.com/csound/csound/issues
>     <https://github.com/csound/csound/issues> Discussions of bugs and
>     features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <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
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

Date2025-03-22 11:58
FromTarmo Johannes
SubjectRe: [Csnd] Remote UI for Csound
Hi!

There is more of it about osc control in Csound 7, I cannot find the page though...

Tarmo

L, 22. märts 2025 13:25 joachim heintz <jh@joachimheintz.de> kirjutas:
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
>
> Yes, I created CsoundRemote years ago and have used in many many cases,
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
> simple. Also, you can export the main widgets from CsoundQt to QML and
> use it in CsoundRemote.
>
> What can be interesting for you -  Csound 7 can be controlled remotely
> also via OSC now: https://csound.com/manual/misc-udp-server/ <https://
> csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
>
> anyway, controlling via OSC is an absolutey great feature and opens up
> possibilities to control Csound via OpenStageControl or other OSC apps,
> I suggest to look into it.
>
> Best!
> tarmo
>
>
>
> Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
> <mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
> kell 12:32:
>
>     Hello all !
>
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
>
>     I found this one related to CsoundQt:
>
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     <https://github.com/tarmoj/CsoundRemote/blob/master/README.md>
>
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
>
>     Another basic feature that is already available in Csound:
>
>     https://csound.com/docs/manual/udpserver.html <https://csound.com/
>     docs/manual/udpserver.html>
>
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
>
>     --Risto
>     Csound mailing list Csound@listserv.heanet.ie
>     <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-
>     bin/wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to https://github.com/csound/csound/issues
>     <https://github.com/csound/csound/issues> Discussions of bugs and
>     features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <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
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

Date2025-03-22 12:03
FromRisto Kuusisto
SubjectRe: [Csnd] Remote UI for Csound
Thanx for the comments !

Tarmo:
When you have a QML-file, what kind of development environment is needed in order to
get a working UI ?
I suppose the communication happens through g-variables and channels in Csound ?


Dave: 
If I understand correctly the browser-application communicates with O-S-C server that
then sends messages to Csound ?

There seem to be already some OSC* opcodes available in Csound.
Should those be used in a .csd-file to connect to the O-S-C server ?

--Risto

la 22.3.2025 klo 13.40 Dave Seidel (dave.seidel@gmail.com) kirjoitti:
I should add that Open Stage Control and TouchOSC can both use MIDI and OSC.

On Sat, Mar 22, 2025 at 7:37 AM Dave Seidel <dave.seidel@gmail.com> wrote:
I've been using Open Stage Control (O-S-C) for several years and like it very much, though I haven't done much with it lately. I typically run realtime Csound on a Raspberry Pi, and when I use Open Stage Control with it I run the O-S-C server on the same Raspberry Pi as Csound. Then I can access the UI from the browser on a tablet (or from any device with a browser).

Though I haven't tried this yet, you should also be able to use TouchOSC with Csound. TouchOSC is very good.

- Dave

On Sat, Mar 22, 2025 at 7:25 AM joachim heintz <jh@joachimheintz.de> wrote:
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
>
> Yes, I created CsoundRemote years ago and have used in many many cases,
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
> simple. Also, you can export the main widgets from CsoundQt to QML and
> use it in CsoundRemote.
>
> What can be interesting for you -  Csound 7 can be controlled remotely
> also via OSC now: https://csound.com/manual/misc-udp-server/ <https://
> csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
>
> anyway, controlling via OSC is an absolutey great feature and opens up
> possibilities to control Csound via OpenStageControl or other OSC apps,
> I suggest to look into it.
>
> Best!
> tarmo
>
>
>
> Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
> <mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
> kell 12:32:
>
>     Hello all !
>
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
>
>     I found this one related to CsoundQt:
>
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     <https://github.com/tarmoj/CsoundRemote/blob/master/README.md>
>
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
>
>     Another basic feature that is already available in Csound:
>
>     https://csound.com/docs/manual/udpserver.html <https://csound.com/
>     docs/manual/udpserver.html>
>
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
>
>     --Risto
>     Csound mailing list Csound@listserv.heanet.ie
>     <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-
>     bin/wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to https://github.com/csound/csound/issues
>     <https://github.com/csound/csound/issues> Discussions of bugs and
>     features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <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
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

Date2025-03-22 12:35
FromRisto Kuusisto
SubjectRe: [Csnd] Remote UI for Csound
Sorry Tarmo, that question about communication was stupid. It has already been mentioned in the README, that:
"Csound must be started with --port option to listen to incoming UDP messages."
And this relates directly to the Csound manual page about udpserver.

--Risto

la 22.3.2025 klo 14.03 Risto Kuusisto (rjzkuusisto@gmail.com) kirjoitti:
Thanx for the comments !

Tarmo:
When you have a QML-file, what kind of development environment is needed in order to
get a working UI ?
I suppose the communication happens through g-variables and channels in Csound ?


Dave: 
If I understand correctly the browser-application communicates with O-S-C server that
then sends messages to Csound ?

There seem to be already some OSC* opcodes available in Csound.
Should those be used in a .csd-file to connect to the O-S-C server ?

--Risto

la 22.3.2025 klo 13.40 Dave Seidel (dave.seidel@gmail.com) kirjoitti:
I should add that Open Stage Control and TouchOSC can both use MIDI and OSC.

On Sat, Mar 22, 2025 at 7:37 AM Dave Seidel <dave.seidel@gmail.com> wrote:
I've been using Open Stage Control (O-S-C) for several years and like it very much, though I haven't done much with it lately. I typically run realtime Csound on a Raspberry Pi, and when I use Open Stage Control with it I run the O-S-C server on the same Raspberry Pi as Csound. Then I can access the UI from the browser on a tablet (or from any device with a browser).

Though I haven't tried this yet, you should also be able to use TouchOSC with Csound. TouchOSC is very good.

- Dave

On Sat, Mar 22, 2025 at 7:25 AM joachim heintz <jh@joachimheintz.de> wrote:
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
>
> Yes, I created CsoundRemote years ago and have used in many many cases,
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
> simple. Also, you can export the main widgets from CsoundQt to QML and
> use it in CsoundRemote.
>
> What can be interesting for you -  Csound 7 can be controlled remotely
> also via OSC now: https://csound.com/manual/misc-udp-server/ <https://
> csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
>
> anyway, controlling via OSC is an absolutey great feature and opens up
> possibilities to control Csound via OpenStageControl or other OSC apps,
> I suggest to look into it.
>
> Best!
> tarmo
>
>
>
> Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
> <mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
> kell 12:32:
>
>     Hello all !
>
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
>
>     I found this one related to CsoundQt:
>
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     <https://github.com/tarmoj/CsoundRemote/blob/master/README.md>
>
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
>
>     Another basic feature that is already available in Csound:
>
>     https://csound.com/docs/manual/udpserver.html <https://csound.com/
>     docs/manual/udpserver.html>
>
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
>
>     --Risto
>     Csound mailing list Csound@listserv.heanet.ie
>     <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-
>     bin/wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to https://github.com/csound/csound/issues
>     <https://github.com/csound/csound/issues> Discussions of bugs and
>     features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <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
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

Date2025-03-22 12:44
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Remote UI for Csound
It’s in the Csound 7 manual. Not sure if it has been ported to the new MD version from docbook.

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 22 Mar 2025, at 11:58, Tarmo Johannes  wrote:
> 
> *Warning*
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> Hi! 
> 
> There is more of it about osc control in Csound 7, I cannot find the page though...
> 
> Tarmo
> 
> L, 22. märts 2025 13:25 joachim heintz  kirjutas:
> hi tarmo -
> 
> do you mean this site?
> https://csound.com/docs/manual/udpserver.html
> 
> this is not new for csound 7, but has been there for quite some time.
> do you mean anything else?
> 
> ciao -
>         joachim
> 
> 
> On 22/03/2025 12:05, Tarmo Johannes wrote:
> > Hi Risto!
> > 
> > Yes, I created CsoundRemote years ago and have used in many many cases, 
> > it has turned very useful for me.
> > Especially nowadays using ChatGPT to create UI-s in QML can  be quite 
> > simple. Also, you can export the main widgets from CsoundQt to QML and 
> > use it in CsoundRemote.
> > 
> > What can be interesting for you -  Csound 7 can be controlled remotely 
> > also via OSC now: https://csound.com/manual/misc-udp-server/  > csound.com/manual/misc-udp-server/>
> > oh, the page is down or moved elsewhere at the moment...
> > 
> > anyway, controlling via OSC is an absolutey great feature and opens up 
> > possibilities to control Csound via OpenStageControl or other OSC apps, 
> > I suggest to look into it.
> > 
> > Best!
> > tarmo
> > 
> > 
> > 
> > Kontakt Risto Kuusisto ( > >) kirjutas kuupäeval L, 22. märts 2025 
> > kell 12:32:
> > 
> >     Hello all !
> > 
> >     I started to google what is available for separation of an
> >     independently running Csound
> >     and a UI locating in another computer. I think this could be a
> >     common situation with e.g.
> >     Raspberry PI. Such projects like MOD or PiPedal seem to use
> >     something like this with
> >     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
> >     a Android-phone or -tablet.
> > 
> >     I found this one related to CsoundQt:
> > 
> >     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
> >     
> > 
> >     So it is possible  to create QML-files from Csound QT-widgets
> >     which can be compiled to some working UI. (compiler, development
> >     environment ??)
> > 
> >     Another basic feature that is already available in Csound:
> > 
> >     https://csound.com/docs/manual/udpserver.html  >     docs/manual/udpserver.html>
> > 
> >     By using that half of the problem is already solved. But what about
> >     the UI-side?
> >     Any suggestions, trials, examples etc ?
> > 
> >     --Risto
> >     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  > 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
> 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

Date2025-03-22 12:57
FromDave Seidel
SubjectRe: [Csnd] Remote UI for Csound
Yes, Risto, that's correct. 

On Sat, Mar 22, 2025, 8:03 AM Risto Kuusisto <rjzkuusisto@gmail.com> wrote:
Thanx for the comments !

Tarmo:
When you have a QML-file, what kind of development environment is needed in order to
get a working UI ?
I suppose the communication happens through g-variables and channels in Csound ?


Dave: 
If I understand correctly the browser-application communicates with O-S-C server that
then sends messages to Csound ?

There seem to be already some OSC* opcodes available in Csound.
Should those be used in a .csd-file to connect to the O-S-C server ?

--Risto

la 22.3.2025 klo 13.40 Dave Seidel (dave.seidel@gmail.com) kirjoitti:
I should add that Open Stage Control and TouchOSC can both use MIDI and OSC.

On Sat, Mar 22, 2025 at 7:37 AM Dave Seidel <dave.seidel@gmail.com> wrote:
I've been using Open Stage Control (O-S-C) for several years and like it very much, though I haven't done much with it lately. I typically run realtime Csound on a Raspberry Pi, and when I use Open Stage Control with it I run the O-S-C server on the same Raspberry Pi as Csound. Then I can access the UI from the browser on a tablet (or from any device with a browser).

Though I haven't tried this yet, you should also be able to use TouchOSC with Csound. TouchOSC is very good.

- Dave

On Sat, Mar 22, 2025 at 7:25 AM joachim heintz <jh@joachimheintz.de> wrote:
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
>
> Yes, I created CsoundRemote years ago and have used in many many cases,
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
> simple. Also, you can export the main widgets from CsoundQt to QML and
> use it in CsoundRemote.
>
> What can be interesting for you -  Csound 7 can be controlled remotely
> also via OSC now: https://csound.com/manual/misc-udp-server/ <https://
> csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
>
> anyway, controlling via OSC is an absolutey great feature and opens up
> possibilities to control Csound via OpenStageControl or other OSC apps,
> I suggest to look into it.
>
> Best!
> tarmo
>
>
>
> Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
> <mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
> kell 12:32:
>
>     Hello all !
>
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
>
>     I found this one related to CsoundQt:
>
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     <https://github.com/tarmoj/CsoundRemote/blob/master/README.md>
>
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
>
>     Another basic feature that is already available in Csound:
>
>     https://csound.com/docs/manual/udpserver.html <https://csound.com/
>     docs/manual/udpserver.html>
>
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
>
>     --Risto
>     Csound mailing list Csound@listserv.heanet.ie
>     <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-
>     bin/wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to https://github.com/csound/csound/issues
>     <https://github.com/csound/csound/issues> Discussions of bugs and
>     features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <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
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
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

Date2025-03-22 22:23
FromTarmo Johannes
SubjectRe: [Csnd] Remote UI for Csound
Hi Risto!

To answer your quetion: "When you have a QML-file, what kind of development environment is needed in order to
get a working UI ? "

If you have Qt development kit installed, you can view your qml files with 'qmlscene <your.qml>' to view and test it BUT you don't need it  and can work with your qml code  also on the web. This seems to be a great place and sandbox: https://app.canonic.com/#https://playground.canonic.com/

I got curious and wanted to try out ChatGpt. This prompt gave a very nice looking UI:
---
Please give me QML code for a UI with: 
- background with gradient from dark-green to black
- label "TRYOUT", font size 20 
- a row with 
-- label "Volume"
-- slider in range 0..1, when slider is moved, execute csound.setControlChannel("volume", value); 
- another row under it with -- button with text "Play", when clicked, execute csound.readScore("i 1 0 3"); 
-- button with text "Play"
Do not use ApplicationWindow, the main element is Rectangle, give dimensions 400x600, but fill parent, if present.
---

Try it out!  I did not test on CsoundRemote, but it looks believable

"I suppose the communication happens through g-variables and channels in Csound ?"
-- yes, channels mostly. you can use also chnexport in Csound to bind a global variable with a channel, the the host (CsoundRemote) can acess -  very convenient.


"There seem to be already some OSC* opcodes available in Csound."
--  Yes, but the beauty of the OSC support of Csound 7 is that when the UDP server is listening for incoming messages (including OSC), you don't need to handle it in your Csound code. It is enough if you send a message something like
/csound/controlChannel sf "volume" 0.6
(this is fictional, I don't remember the corect paths)  - and it will be put to your channel. Sending events or compiling score, requesting values from channels works the same way.  As much I know,  Victor is the author of this part and can comment more. Once again - I find it a brilliant improvement.

Best!
tarmo

Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com>) kirjutas kuupäeval L, 22. märts 2025 kell 14:03:
Thanx for the comments !

Tarmo:
When you have a QML-file, what kind of development environment is needed in order to
get a working UI ?
I suppose the communication happens through g-variables and channels in Csound ?


Dave: 
If I understand correctly the browser-application communicates with O-S-C server that
then sends messages to Csound ?

There seem to be already some OSC* opcodes available in Csound.
Should those be used in a .csd-file to connect to the O-S-C server ?

--Risto

la 22.3.2025 klo 13.40 Dave Seidel (dave.seidel@gmail.com) kirjoitti:
I should add that Open Stage Control and TouchOSC can both use MIDI and OSC.

On Sat, Mar 22, 2025 at 7:37 AM Dave Seidel <dave.seidel@gmail.com> wrote:
I've been using Open Stage Control (O-S-C) for several years and like it very much, though I haven't done much with it lately. I typically run realtime Csound on a Raspberry Pi, and when I use Open Stage Control with it I run the O-S-C server on the same Raspberry Pi as Csound. Then I can access the UI from the browser on a tablet (or from any device with a browser).

Though I haven't tried this yet, you should also be able to use TouchOSC with Csound. TouchOSC is very good.

- Dave

On Sat, Mar 22, 2025 at 7:25 AM joachim heintz <jh@joachimheintz.de> wrote:
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
>
> Yes, I created CsoundRemote years ago and have used in many many cases,
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
> simple. Also, you can export the main widgets from CsoundQt to QML and
> use it in CsoundRemote.
>
> What can be interesting for you -  Csound 7 can be controlled remotely
> also via OSC now: https://csound.com/manual/misc-udp-server/ <https://
> csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
>
> anyway, controlling via OSC is an absolutey great feature and opens up
> possibilities to control Csound via OpenStageControl or other OSC apps,
> I suggest to look into it.
>
> Best!
> tarmo
>
>
>
> Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
> <mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
> kell 12:32:
>
>     Hello all !
>
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
>
>     I found this one related to CsoundQt:
>
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     <https://github.com/tarmoj/CsoundRemote/blob/master/README.md>
>
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
>
>     Another basic feature that is already available in Csound:
>
>     https://csound.com/docs/manual/udpserver.html <https://csound.com/
>     docs/manual/udpserver.html>
>
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
>
>     --Risto
>     Csound mailing list Csound@listserv.heanet.ie
>     <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-
>     bin/wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to https://github.com/csound/csound/issues
>     <https://github.com/csound/csound/issues> Discussions of bugs and
>     features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <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
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
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

Date2025-03-23 00:14
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Remote UI for Csound
It took me a while to realise that not all responses were by ChatGPT, I was a bit alarmed at first that it should know so
much about the new OSC support in the udp server. ;)

Yeh, if you send a channel OSC msg to the udp server, it goes directly into a channel. There are addresses for compilation and events too, and core opcodes to pick up arbitrary messages. All this does not depend on the liblo-based OSC opcodes and can also be used alongside them.

It's documented in the new manual, but that is still being converted to the new doc format.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Mar 2025, at 22:24, Tarmo Johannes <trmjhnns@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hi Risto!

To answer your quetion: "When you have a QML-file, what kind of development environment is needed in order to
get a working UI ? "

If you have Qt development kit installed, you can view your qml files with 'qmlscene <your.qml>' to view and test it BUT you don't need it  and can work with your qml code  also on the web. This seems to be a great place and sandbox: https://app.canonic.com/#https://playground.canonic.com/

I got curious and wanted to try out ChatGpt. This prompt gave a very nice looking UI:
---
Please give me QML code for a UI with: 
- background with gradient from dark-green to black
- label "TRYOUT", font size 20 
- a row with 
-- label "Volume"
-- slider in range 0..1, when slider is moved, execute csound.setControlChannel("volume", value); 
- another row under it with -- button with text "Play", when clicked, execute csound.readScore("i 1 0 3"); 
-- button with text "Play"
Do not use ApplicationWindow, the main element is Rectangle, give dimensions 400x600, but fill parent, if present.
---

Try it out!  I did not test on CsoundRemote, but it looks believable

"I suppose the communication happens through g-variables and channels in Csound ?"
-- yes, channels mostly. you can use also chnexport in Csound to bind a global variable with a channel, the the host (CsoundRemote) can acess -  very convenient.


"There seem to be already some OSC* opcodes available in Csound."
--  Yes, but the beauty of the OSC support of Csound 7 is that when the UDP server is listening for incoming messages (including OSC), you don't need to handle it in your Csound code. It is enough if you send a message something like
/csound/controlChannel sf "volume" 0.6
(this is fictional, I don't remember the corect paths)  - and it will be put to your channel. Sending events or compiling score, requesting values from channels works the same way.  As much I know,  Victor is the author of this part and can comment more. Once again - I find it a brilliant improvement.

Best!
tarmo

Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com>) kirjutas kuupäeval L, 22. märts 2025 kell 14:03:
Thanx for the comments !

Tarmo:
When you have a QML-file, what kind of development environment is needed in order to
get a working UI ?
I suppose the communication happens through g-variables and channels in Csound ?


Dave: 
If I understand correctly the browser-application communicates with O-S-C server that
then sends messages to Csound ?

There seem to be already some OSC* opcodes available in Csound.
Should those be used in a .csd-file to connect to the O-S-C server ?

--Risto

la 22.3.2025 klo 13.40 Dave Seidel (dave.seidel@gmail.com) kirjoitti:
I should add that Open Stage Control and TouchOSC can both use MIDI and OSC.

On Sat, Mar 22, 2025 at 7:37 AM Dave Seidel <dave.seidel@gmail.com> wrote:
I've been using Open Stage Control (O-S-C) for several years and like it very much, though I haven't done much with it lately. I typically run realtime Csound on a Raspberry Pi, and when I use Open Stage Control with it I run the O-S-C server on the same Raspberry Pi as Csound. Then I can access the UI from the browser on a tablet (or from any device with a browser).

Though I haven't tried this yet, you should also be able to use TouchOSC with Csound. TouchOSC is very good.

- Dave

On Sat, Mar 22, 2025 at 7:25 AM joachim heintz <jh@joachimheintz.de> wrote:
hi tarmo -

do you mean this site?
https://csound.com/docs/manual/udpserver.html

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
> Hi Risto!
>
> Yes, I created CsoundRemote years ago and have used in many many cases,
> it has turned very useful for me.
> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
> simple. Also, you can export the main widgets from CsoundQt to QML and
> use it in CsoundRemote.
>
> What can be interesting for you -  Csound 7 can be controlled remotely
> also via OSC now: https://csound.com/manual/misc-udp-server/ <https://
> csound.com/manual/misc-udp-server/>
> oh, the page is down or moved elsewhere at the moment...
>
> anyway, controlling via OSC is an absolutey great feature and opens up
> possibilities to control Csound via OpenStageControl or other OSC apps,
> I suggest to look into it.
>
> Best!
> tarmo
>
>
>
> Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
> <mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
> kell 12:32:
>
>     Hello all !
>
>     I started to google what is available for separation of an
>     independently running Csound
>     and a UI locating in another computer. I think this could be a
>     common situation with e.g.
>     Raspberry PI. Such projects like MOD or PiPedal seem to use
>     something like this with
>     LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>     a Android-phone or -tablet.
>
>     I found this one related to CsoundQt:
>
>     https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>     <https://github.com/tarmoj/CsoundRemote/blob/master/README.md>
>
>     So it is possible  to create QML-files from Csound QT-widgets
>     which can be compiled to some working UI. (compiler, development
>     environment ??)
>
>     Another basic feature that is already available in Csound:
>
>     https://csound.com/docs/manual/udpserver.html <https://csound.com/
>     docs/manual/udpserver.html>
>
>     By using that half of the problem is already solved. But what about
>     the UI-side?
>     Any suggestions, trials, examples etc ?
>
>     --Risto
>     Csound mailing list Csound@listserv.heanet.ie
>     <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-
>     bin/wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to https://github.com/csound/csound/issues
>     <https://github.com/csound/csound/issues> Discussions of bugs and
>     features can be posted here
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <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
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
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

Date2025-03-23 21:14
Fromjoachim heintz
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Remote UI for Csound
was it an extension of https://csound.com/docs/manual/udpserver.html or 
did you write a new page?

On 22/03/2025 13:44, Victor Lazzarini wrote:
> It’s in the Csound 7 manual. Not sure if it has been ported to the new MD version from docbook.
> 
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 22 Mar 2025, at 11:58, Tarmo Johannes  wrote:
>>
>> *Warning*
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>> Hi!
>>
>> There is more of it about osc control in Csound 7, I cannot find the page though...
>>
>> Tarmo
>>
>> L, 22. märts 2025 13:25 joachim heintz  kirjutas:
>> hi tarmo -
>>
>> do you mean this site?
>> https://csound.com/docs/manual/udpserver.html
>>
>> this is not new for csound 7, but has been there for quite some time.
>> do you mean anything else?
>>
>> ciao -
>>          joachim
>>
>>
>> On 22/03/2025 12:05, Tarmo Johannes wrote:
>>> Hi Risto!
>>>
>>> Yes, I created CsoundRemote years ago and have used in many many cases,
>>> it has turned very useful for me.
>>> Especially nowadays using ChatGPT to create UI-s in QML can  be quite
>>> simple. Also, you can export the main widgets from CsoundQt to QML and
>>> use it in CsoundRemote.
>>>
>>> What can be interesting for you -  Csound 7 can be controlled remotely
>>> also via OSC now: https://csound.com/manual/misc-udp-server/ >> csound.com/manual/misc-udp-server/>
>>> oh, the page is down or moved elsewhere at the moment...
>>>
>>> anyway, controlling via OSC is an absolutey great feature and opens up
>>> possibilities to control Csound via OpenStageControl or other OSC apps,
>>> I suggest to look into it.
>>>
>>> Best!
>>> tarmo
>>>
>>>
>>>
>>> Kontakt Risto Kuusisto (>> >) kirjutas kuupäeval L, 22. märts 2025
>>> kell 12:32:
>>>
>>>      Hello all !
>>>
>>>      I started to google what is available for separation of an
>>>      independently running Csound
>>>      and a UI locating in another computer. I think this could be a
>>>      common situation with e.g.
>>>      Raspberry PI. Such projects like MOD or PiPedal seem to use
>>>      something like this with
>>>      LV2-plugins. Typically it is nice if the UI-side is running in e.g.
>>>      a Android-phone or -tablet.
>>>
>>>      I found this one related to CsoundQt:
>>>
>>>      https://github.com/tarmoj/CsoundRemote/blob/master/README.md
>>>      
>>>
>>>      So it is possible  to create QML-files from Csound QT-widgets
>>>      which can be compiled to some working UI. (compiler, development
>>>      environment ??)
>>>
>>>      Another basic feature that is already available in Csound:
>>>
>>>      https://csound.com/docs/manual/udpserver.html >>      docs/manual/udpserver.html>
>>>
>>>      By using that half of the problem is already solved. But what about
>>>      the UI-side?
>>>      Any suggestions, trials, examples etc ?
>>>
>>>      --Risto
>>>      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 >> 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
>> 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

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

Date2025-03-23 21:28
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Remote UI for Csound
I see it in the csound 7 branch




Prof. Victor Lazzarini
Maynooth University
Ireland

On 23 Mar 2025, at 21:15, joachim heintz <jh@joachimheintz.de> wrote:

was it an extension of https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcsound.com%2Fdocs%2Fmanual%2Fudpserver.html&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215182502%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=h42o9EESgMo1SPytGF99KYgQbz%2BH6ISwTnjGTsLGoTE%3D&reserved=0 or did you write a new page?

On 22/03/2025 13:44, Victor Lazzarini wrote:
It’s in the Csound 7 manual. Not sure if it has been ported to the new MD version from docbook.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland
On 22 Mar 2025, at 11:58, Tarmo Johannes <trmjhnns@GMAIL.COM> wrote:

*Warning*
This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
Hi!

There is more of it about osc control in Csound 7, I cannot find the page though...

Tarmo

L, 22. märts 2025 13:25 joachim heintz <jh@joachimheintz.de> kirjutas:
hi tarmo -

do you mean this site?
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcsound.com%2Fdocs%2Fmanual%2Fudpserver.html&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215202983%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=lX8pqSP8XgXiftlT7vAT4os7xUy4xTRgiZKZmk%2BrTl8%3D&reserved=0

this is not new for csound 7, but has been there for quite some time.
do you mean anything else?

ciao -
        joachim


On 22/03/2025 12:05, Tarmo Johannes wrote:
Hi Risto!

Yes, I created CsoundRemote years ago and have used in many many cases,
it has turned very useful for me.
Especially nowadays using ChatGPT to create UI-s in QML can  be quite
simple. Also, you can export the main widgets from CsoundQt to QML and
use it in CsoundRemote.

What can be interesting for you -  Csound 7 can be controlled remotely
also via OSC now: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcsound.com%2Fmanual%2Fmisc-udp-server%2F&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215216081%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=d1%2FqNFcuPYJaiKW5bGzPIt6CSvh7GRNGUsW%2BJfMDhH4%3D&reserved=0 <https://
csound.com/manual/misc-udp-server/>
oh, the page is down or moved elsewhere at the moment...

anyway, controlling via OSC is an absolutey great feature and opens up
possibilities to control Csound via OpenStageControl or other OSC apps,
I suggest to look into it.

Best!
tarmo



Kontakt Risto Kuusisto (<rjzkuusisto@gmail.com
<mailto:rjzkuusisto@gmail.com>>) kirjutas kuupäeval L, 22. märts 2025
kell 12:32:

    Hello all !

    I started to google what is available for separation of an
    independently running Csound
    and a UI locating in another computer. I think this could be a
    common situation with e.g.
    Raspberry PI. Such projects like MOD or PiPedal seem to use
    something like this with
    LV2-plugins. Typically it is nice if the UI-side is running in e.g.
    a Android-phone or -tablet.

    I found this one related to CsoundQt:

    https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftarmoj%2FCsoundRemote%2Fblob%2Fmaster%2FREADME.md&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215228365%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=unoEFP4xca7lvbcECCJiCBQMMeJjWK1Zi9zLzzk%2BLL8%3D&reserved=0
    <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftarmoj%2FCsoundRemote%2Fblob%2Fmaster%2FREADME.md&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215240483%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=MrJZkzNMBf22%2B61o2lJwWb9U22EVIFKS4wOtxHq9hlU%3D&reserved=0>

    So it is possible  to create QML-files from Csound QT-widgets
    which can be compiled to some working UI. (compiler, development
    environment ??)

    Another basic feature that is already available in Csound:

    https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcsound.com%2Fdocs%2Fmanual%2Fudpserver.html&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215252889%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Eyfsvky2VQNt%2FWfPwaROstGgPrivaqIRu0qjYD%2FqNnU%3D&reserved=0 <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcsound.com%2F&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215264786%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=CShh4%2BI%2BGXxE6dI97%2B9mTZkK2NzdNjR9XodacZ6fKBU%3D&reserved=0
    docs/manual/udpserver.html>

    By using that half of the problem is already solved. But what about
    the UI-side?
    Any suggestions, trials, examples etc ?

    --Risto
    Csound mailing list Csound@listserv.heanet.ie
    <mailto:Csound@listserv.heanet.ie> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215276889%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=gD8toL0%2BpZBSyu8%2BhPVs4HntFaz9%2BL%2ByZKJmOkT8dbs%3D&reserved=0
    bin/wa?A0=CSOUND <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215289265%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=gLqIGxB0Y00EfKIrsDi327VfxlNcKkphpIbet1703Bk%3D&reserved=0>
    Send bugs reports to https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215301213%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=2oooy2Enkc%2BmxdvXOMA7uXwELpQ1%2FpHcWgFwMpTXb2Y%3D&reserved=0
    <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215313217%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=WKq%2FSWYGwHiLEFQFPW6z0DejqDZqsDB1aZ9FeYDIlX4%3D&reserved=0> Discussions of bugs and
    features can be posted here

Csound mailing list Csound@listserv.heanet.ie
<mailto:Csound@listserv.heanet.ie> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2F&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215325181%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=sXiTB3Veu7cSV0Ado2eE8rOPGI%2FzrJttm8AwqZujMHI%3D&reserved=0
wa?A0=CSOUND <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215342579%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=nCrluvVcGMiKma48L1UQkimG3lmgSHDWAAkLsJF%2FmqY%3D&reserved=0> Send bugs
reports to https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215355049%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=fmKKPwHys%2FP0dzJQHi5fWxNBQDAHuVFrpXjCK2YqTXA%3D&reserved=0 <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2F&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215367313%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=B13vXwC%2BNqRmO%2F5LDqk3usZWkhHpLPH%2BndAcpxjaMQo%3D&reserved=0
csound/csound/issues> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215380448%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=ww1OF0QXEIiYVUhCi0mJ1oRWxYvsGYfuEwIL39cEBao%3D&reserved=0
Send bugs reports to
        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215392611%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=IsiTLyJ5sS3BMr5ftB5JapT2A7Jaht49LhB67%2Bs6JK0%3D&reserved=0
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215405320%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=MpAfZWm3fLyExW6SVK4nYX3hOQ7kvufuq8XWWn7ljpw%3D&reserved=0 Send bugs reports to https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215417157%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=mSosOVzDGUhxfO790KFLMMPfkbYfJkTCfMZ8MejvYkA%3D&reserved=0 Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215429004%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=MsyxXrX5H7Kg%2FZIRDX7wUNFrWPliH4NvsLa2qEz%2F5%2BE%3D&reserved=0
Send bugs reports to
        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215440705%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=2CjuyPOmMS51qpnzaiIV9bGpT4xukYUxM9zgr4KMASk%3D&reserved=0
Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215452771%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=CBOoBZ%2BebFO927gXKkwW8RC%2FJ%2BGIrEjEiwDwOLn0qlM%3D&reserved=0
Send bugs reports to
      https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C02%7Cvictor.lazzarini%40MU.IE%7C8b2ed6259c5545fbfc1908dd6a4fd04b%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638783613215464761%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=g0eE3KmOg0SbFVdmU3GYVxfnSFpI6EvBh8YfQ%2BkxSns%3D&reserved=0
Discussions of bugs and features can be posted here

Date2025-03-26 10:39
FromRisto Kuusisto
Subject[Csnd] Remote UI for Csound
Tarmo  Just because of curiosity I tried your specification with Copilot.
Here's the result:

import QtQuick

Rectangle {
    width: 400
    height: 600

    // Fill parent if present
    anchors.fill: parent

    // Background gradient
    gradient: Gradient {
        GradientStop { position: 0.0; color: "darkgreen" }
        GradientStop { position: 1.0; color: "black" }
    }

    // Label "TRYOUT"
    Text {
        text: "TRYOUT"
        font.pixelSize: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 20
        color: "white"
    }

    // First Row: Label "Volume" and Slider
    Row {
        spacing: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 60

        Text {
            text: "Volume"
            color: "white"
            font.pixelSize: 16
        }

        Slider {
            from: 0
            to: 1
            onValueChanged: csound.setControlChannel("volume", value)
            width: 200
        }
    }

    // Second Row: Buttons
    Row {
        spacing: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 120

        Button {
            text: "Play"
            onClicked: csound.readScore("i 1 0 3")
        }

The playground you mentioned complained about Slider. Clearly there is something wrong in the result
Note, I added this import for the playgroiund, because Copilot coul not know that it is needed:

--Risto

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

Date2025-03-26 11:43
FromTarmo Johannes
SubjectRe: [Csnd] Remote UI for Csound
Hi!

The suggested code missed 'import QtQuick.Controls' and had two '}' missing from the end (probably just copying error. This works:

import QtQuick
import QtQuick.Controls

Rectangle {
    width: 400
    height: 600

    // Fill parent if present
    anchors.fill: parent

    // Background gradient
    gradient: Gradient {
        GradientStop { position: 0.0; color: "darkgreen" }
        GradientStop { position: 1.0; color: "black" }
    }

    // Label "TRYOUT"
    Text {
        text: "TRYOUT"
        font.pixelSize: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 20
        color: "white"
    }

    // First Row: Label "Volume" and Slider
    Row {
        spacing: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 60

        Text {
            text: "Volume"
            color: "white"
            font.pixelSize: 16
        }

        Slider {
            from: 0
            to: 1
            onValueChanged: csound.setControlChannel("volume", value)
            width: 200
        }
    }

    // Second Row: Buttons
    Row {
        spacing: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 120

        Button {
            text: "Play"
            onClicked: csound.readScore("i 1 0 3")
        }
    }
 }

I used ChatGPT  that gave me desired result immediately. But of course, the AI-s have also their better an worse moments.

t

K, 26. märts 2025 12:39 Risto Kuusisto <rjzkuusisto@gmail.com> kirjutas:
Tarmo  Just because of curiosity I tried your specification with Copilot.
Here's the result:

import QtQuick

Rectangle {
    width: 400
    height: 600

    // Fill parent if present
    anchors.fill: parent

    // Background gradient
    gradient: Gradient {
        GradientStop { position: 0.0; color: "darkgreen" }
        GradientStop { position: 1.0; color: "black" }
    }

    // Label "TRYOUT"
    Text {
        text: "TRYOUT"
        font.pixelSize: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 20
        color: "white"
    }

    // First Row: Label "Volume" and Slider
    Row {
        spacing: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 60

        Text {
            text: "Volume"
            color: "white"
            font.pixelSize: 16
        }

        Slider {
            from: 0
            to: 1
            onValueChanged: csound.setControlChannel("volume", value)
            width: 200
        }
    }

    // Second Row: Buttons
    Row {
        spacing: 20
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 120

        Button {
            text: "Play"
            onClicked: csound.readScore("i 1 0 3")
        }

The playground you mentioned complained about Slider. Clearly there is something wrong in the result
Note, I added this import for the playgroiund, because Copilot coul not know that it is needed:

--Risto

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