[Csnd] CsoundRemote
| Date | 2019-01-21 13:24 |
| From | Tarmo Johannes |
| Subject | [Csnd] CsoundRemote |
|
Hi,
I am glad to announce release of Csound Remote - a user-friendly app for controlling Csound via UDP messages from the same or other computer, tablet or smartphone. https://github.com/tarmoj/CsoundRemote/releases
See two demos: General introduction: https://youtu.be/HzsS4s2d2NA
How to create an animated user interface with QtCreator and control Csound in 10 minutes: https://www.youtube.com/watch?v=tcbuuPq4t7g
Since version 6.11 Csound has very flexible control over UDP messages and I have used it in several projects to bring the user interface to tablet that is with me on the stage while computer is sitting on a table connected with the mixer. It has worked very well and I wanted to make it more available for anyone. I have built an app that takes care of sending/receiving the UDP messages, has a generic builtin interface and is able to load custom interfaces in QML (Qt Metalanguae) where you can use calls similar to usual Csound API, and that's it. For example:
Slider {width: 100; onPositionChanged: csound.setControlChannel("value", position) }
QML is relatively simple, yet very powerful language that enables to quickly create nice, well portable interfaces.
There is another great feature that is available since CsoundQt-beta3: https://github.com/CsoundQt/CsoundQt/releases/tag/0.9.6-beta3 you can export your CsoundQt widgets to QML file and send them to your mobile device (or use in any computer) to with the CsoundRemote app. Not all widgets are supported yet but the main (Button, Label, Slider, Knob, SpinBox) work fine.
You can find the source code and Android apk from the release page: https://github.com/tarmoj/CsoundRemote/releases/tag/0.2.2
When there is any interest, I can put CsoundRemote to Google Play and make also Windows and MacOs packages. Version for iOs is definitely possible (and woks in iphonesimulator), but I have not figured out yet, how to deal with the loading of QML files (ha, the mysterious iOs file management...)
Please try out and hopefully it is useful for someone!
tarmo
|
| Date | 2019-01-21 13:44 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] CsoundRemote |
Wonderful! Can we have a news item on csound.com? ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 21 Jan 2019, at 13:24, Tarmo Johannes |
| Date | 2019-01-21 13:59 |
| From | Tarmo Johannes |
| Subject | Re: [Csnd] CsoundRemote |
| Attachments | csoundremote-screenshot.png cd-remote-icon.png |
Thanks! Yes, for sure, I don't know how to enter the news but if someone can do it for me, perhaps text like: ---- CsoundRemote released. CsoundRemote is a user-friendly app for controlling Csound via UDP messages from the same or other computer, tablet or smartphone. It enables to use a generic built in user interface or load custom interfaces in QML format. Release: https://github.com/tarmoj/CsoundRemote/releases/tag/0.2.2 See more: https://github.com/tarmoj/CsoundRemote/blob/master/README.md for more information ---- And I attach a screenshot for picture and icon, if needed. tarmo --- On Monday, January 21, 2019 3:44:16 PM EET you wrote: > Wonderful! > > Can we have a news item on csound.com? > ======================== > Prof. Victor Lazzarini > Dean of Arts, Celtic Studies, and Philosophy, > Maynooth University, > Maynooth, Co Kildare, Ireland > Tel: 00 353 7086936 > Fax: 00 353 1 7086952 > > > On 21 Jan 2019, at 13:24, Tarmo Johannes |
| Date | 2019-01-21 18:21 |
| From | joachim heintz |
| Subject | Re: [Csnd] CsoundRemote |
done =) https://csound.com/site/news/2019/01/21/csound-remote j On 21/01/19 14:59, Tarmo Johannes wrote: > Thanks! > > Yes, for sure, I don't know how to enter the news but if someone can do it for > me, perhaps text like: > > ---- > CsoundRemote released. > > CsoundRemote is a user-friendly app for controlling Csound via UDP messages > from the same or other computer, tablet or smartphone. It enables to use a > generic built in user interface or load custom interfaces in QML format. > > Release: > https://github.com/tarmoj/CsoundRemote/releases/tag/0.2.2 > > See more: https://github.com/tarmoj/CsoundRemote/blob/master/README.md for > more information > > ---- > > And I attach a screenshot for picture and icon, if needed. > > tarmo > --- > > On Monday, January 21, 2019 3:44:16 PM EET you wrote: >> Wonderful! >> >> Can we have a news item on csound.com? >> ======================== >> Prof. Victor Lazzarini >> Dean of Arts, Celtic Studies, and Philosophy, >> Maynooth University, >> Maynooth, Co Kildare, Ireland >> Tel: 00 353 7086936 >> Fax: 00 353 1 7086952 >> >>> On 21 Jan 2019, at 13:24, Tarmo Johannes |
| Date | 2019-01-27 18:19 |
| From | joachim heintz |
| Subject | Re: [Csnd] CsoundRemote |
hi tarmo -
this is really great stuff. thanks so much for it, and also for the
demos!! it really shows everything we need to know.
i was wondering in which situation you would prefer OSC over the --port
option. do you have any opinion about it?
best -
joachim
On 21/01/19 14:24, Tarmo Johannes wrote:
> Hi,
>
>
>
> I am glad to announce release of Csound Remote - a user-friendly app for
> controlling Csound via UDP messages from the same or other computer,
> tablet or smartphone.
>
> https://github.com/tarmoj/CsoundRemote/releases
>
>
>
> See two demos:
>
> General introduction:
>
> https://youtu.be/HzsS4s2d2NA
>
>
>
> How to create an animated user interface with QtCreator and control
> Csound in 10 minutes:
>
> https://www.youtube.com/watch?v=tcbuuPq4t7g
>
>
>
>
>
> Since version 6.11 Csound has very flexible control over UDP messages
> and I have used it in several projects to bring the user interface to
> tablet that is with me on the stage while computer is sitting on a table
> connected with the mixer. It has worked very well and I wanted to make
> it more available for anyone. I have built an app that takes care of
> sending/receiving the UDP messages, has a generic builtin interface and
> is able to load custom interfaces in QML (Qt Metalanguae) where you can
> use calls similar to usual Csound API, and that's it. For example:
>
>
>
> Slider {width: 100; onPositionChanged: csound.setControlChannel("value",
> position) }
>
>
>
> QML is relatively simple, yet very powerful language that enables to
> quickly create nice, well portable interfaces.
>
>
>
> There is another great feature that is available since CsoundQt-beta3:
>
> https://github.com/CsoundQt/CsoundQt/releases/tag/0.9.6-beta3
>
> you can export your CsoundQt widgets to QML file and send them to your
> mobile device (or use in any computer) to with the CsoundRemote app.
>
> Not all widgets are supported yet but the main (Button, Label, Slider,
> Knob, SpinBox) work fine.
>
>
>
> You can find the source code and Android apk from the release page:
>
> https://github.com/tarmoj/CsoundRemote/releases/tag/0.2.2
>
>
>
> When there is any interest, I can put CsoundRemote to Google Play and
> make also Windows and MacOs packages. Version for iOs is definitely
> possible (and woks in iphonesimulator), but I have not figured out yet,
> how to deal with the loading of QML files (ha, the mysterious iOs file
> management...)
>
>
>
> Please try out and hopefully it is useful for someone!
>
>
>
> tarmo
>
>
>
>
>
>
>
> Csound mailing list Csound@listserv.heanet.ie
> |
| Date | 2019-01-27 21:06 |
| From | Tarmo Johannes |
| Subject | Re: [Csnd] CsoundRemote |
Thanks, Joachim!
I think in most more simple cases CsoundRemote is easier to use: you don't
have to implement sending the messages nor set up the receiver - CsoundRemote
does it in one end and Csound in the other. You don't need OSCListen and
handling the OSC data in Csound, checking the triggers and then doing
something with the values - you just read the values from channels like in
case of API calls.
The downside is that you have to understand at least little bit of QML and if
people prefer other languages or platforms, OSC enables to write your own
solution how it suits best.
And for sending more complex data like several values at once, OSC is
superior.
From the other hand with CsoundRremote and Csound UDP listener you can send
events or compile whole bunch of Csound code with csound.compileOrc - so you
have other possibilities here.
In genereal - I believe with CsoundRemote you get your solution working much
faster (especially if you export widgets from CsoundQt - then you don't need
to get to QML at all) than writing your implementations.
If there is any latency diffrence or which is faster, I cannot tell.
I am happy if people try it out! I pushed the example files to:
https://github.com/tarmoj/CsoundRemote/tree/master/examples
Also, Mac peolple, please try of if
https://github.com/CsoundQt/CsoundQt/releases/download/0.9.6-beta3/
CsoundQt-0.9.6-beta3-2-MacOS.dmg
works for you (to export widgets to QML) - it is reported to crash, but works
for me. I need more info.
Thanks!
tarmo
On pühapäev, 27. jaanuar 2019 20:19.12 EET you wrote:
> hi tarmo -
>
> this is really great stuff. thanks so much for it, and also for the
> demos!! it really shows everything we need to know.
>
> i was wondering in which situation you would prefer OSC over the --port
> option. do you have any opinion about it?
>
> best -
> joachim
>
> On 21/01/19 14:24, Tarmo Johannes wrote:
> > Hi,
> >
> >
> >
> > I am glad to announce release of Csound Remote - a user-friendly app for
> > controlling Csound via UDP messages from the same or other computer,
> > tablet or smartphone.
> >
> > https://github.com/tarmoj/CsoundRemote/releases
> >
> >
> >
> > See two demos:
> >
> > General introduction:
> >
> > https://youtu.be/HzsS4s2d2NA
> >
> >
> >
> > How to create an animated user interface with QtCreator and control
> > Csound in 10 minutes:
> >
> > https://www.youtube.com/watch?v=tcbuuPq4t7g
> >
> >
> >
> >
> >
> > Since version 6.11 Csound has very flexible control over UDP messages
> > and I have used it in several projects to bring the user interface to
> > tablet that is with me on the stage while computer is sitting on a table
> > connected with the mixer. It has worked very well and I wanted to make
> > it more available for anyone. I have built an app that takes care of
> > sending/receiving the UDP messages, has a generic builtin interface and
> > is able to load custom interfaces in QML (Qt Metalanguae) where you can
> > use calls similar to usual Csound API, and that's it. For example:
> >
> >
> >
> > Slider {width: 100; onPositionChanged: csound.setControlChannel("value",
> > position) }
> >
> >
> >
> > QML is relatively simple, yet very powerful language that enables to
> > quickly create nice, well portable interfaces.
> >
> >
> >
> > There is another great feature that is available since CsoundQt-beta3:
> >
> > https://github.com/CsoundQt/CsoundQt/releases/tag/0.9.6-beta3
> >
> > you can export your CsoundQt widgets to QML file and send them to your
> > mobile device (or use in any computer) to with the CsoundRemote app.
> >
> > Not all widgets are supported yet but the main (Button, Label, Slider,
> > Knob, SpinBox) work fine.
> >
> >
> >
> > You can find the source code and Android apk from the release page:
> >
> > https://github.com/tarmoj/CsoundRemote/releases/tag/0.2.2
> >
> >
> >
> > When there is any interest, I can put CsoundRemote to Google Play and
> > make also Windows and MacOs packages. Version for iOs is definitely
> > possible (and woks in iphonesimulator), but I have not figured out yet,
> > how to deal with the loading of QML files (ha, the mysterious iOs file
> > management...)
> >
> >
> >
> > Please try out and hopefully it is useful for someone!
> >
> >
> >
> > tarmo
> >
> >
> >
> >
> >
> >
> >
> > Csound mailing list Csound@listserv.heanet.ie
> > |
| Date | 2019-01-31 18:30 |
| From | joachim heintz |
| Subject | Re: [Csnd] CsoundRemote |
hi tarmo -
thanks for the good explanation. makes perfectly sense.
i tried the qml export on two macs:
- osx 10.10 with csoundqt 0.9.6-beta2
- osx 10.12 with csoundqt 0.9.6-beta3
both worked without any problems.
ciao -
joachim
On 27/01/19 22:06, Tarmo Johannes wrote:
> Thanks, Joachim!
>
> I think in most more simple cases CsoundRemote is easier to use: you don't
> have to implement sending the messages nor set up the receiver - CsoundRemote
> does it in one end and Csound in the other. You don't need OSCListen and
> handling the OSC data in Csound, checking the triggers and then doing
> something with the values - you just read the values from channels like in
> case of API calls.
>
> The downside is that you have to understand at least little bit of QML and if
> people prefer other languages or platforms, OSC enables to write your own
> solution how it suits best.
>
> And for sending more complex data like several values at once, OSC is
> superior.
>
> From the other hand with CsoundRremote and Csound UDP listener you can send
> events or compile whole bunch of Csound code with csound.compileOrc - so you
> have other possibilities here.
>
> In genereal - I believe with CsoundRemote you get your solution working much
> faster (especially if you export widgets from CsoundQt - then you don't need
> to get to QML at all) than writing your implementations.
>
> If there is any latency diffrence or which is faster, I cannot tell.
>
> I am happy if people try it out! I pushed the example files to:
> https://github.com/tarmoj/CsoundRemote/tree/master/examples
>
> Also, Mac peolple, please try of if
> https://github.com/CsoundQt/CsoundQt/releases/download/0.9.6-beta3/
> CsoundQt-0.9.6-beta3-2-MacOS.dmg
> works for you (to export widgets to QML) - it is reported to crash, but works
> for me. I need more info.
>
> Thanks!
> tarmo
>
>
>
>
> On pühapäev, 27. jaanuar 2019 20:19.12 EET you wrote:
>> hi tarmo -
>>
>> this is really great stuff. thanks so much for it, and also for the
>> demos!! it really shows everything we need to know.
>>
>> i was wondering in which situation you would prefer OSC over the --port
>> option. do you have any opinion about it?
>>
>> best -
>> joachim
>>
>> On 21/01/19 14:24, Tarmo Johannes wrote:
>>> Hi,
>>>
>>>
>>>
>>> I am glad to announce release of Csound Remote - a user-friendly app for
>>> controlling Csound via UDP messages from the same or other computer,
>>> tablet or smartphone.
>>>
>>> https://github.com/tarmoj/CsoundRemote/releases
>>>
>>>
>>>
>>> See two demos:
>>>
>>> General introduction:
>>>
>>> https://youtu.be/HzsS4s2d2NA
>>>
>>>
>>>
>>> How to create an animated user interface with QtCreator and control
>>> Csound in 10 minutes:
>>>
>>> https://www.youtube.com/watch?v=tcbuuPq4t7g
>>>
>>>
>>>
>>>
>>>
>>> Since version 6.11 Csound has very flexible control over UDP messages
>>> and I have used it in several projects to bring the user interface to
>>> tablet that is with me on the stage while computer is sitting on a table
>>> connected with the mixer. It has worked very well and I wanted to make
>>> it more available for anyone. I have built an app that takes care of
>>> sending/receiving the UDP messages, has a generic builtin interface and
>>> is able to load custom interfaces in QML (Qt Metalanguae) where you can
>>> use calls similar to usual Csound API, and that's it. For example:
>>>
>>>
>>>
>>> Slider {width: 100; onPositionChanged: csound.setControlChannel("value",
>>> position) }
>>>
>>>
>>>
>>> QML is relatively simple, yet very powerful language that enables to
>>> quickly create nice, well portable interfaces.
>>>
>>>
>>>
>>> There is another great feature that is available since CsoundQt-beta3:
>>>
>>> https://github.com/CsoundQt/CsoundQt/releases/tag/0.9.6-beta3
>>>
>>> you can export your CsoundQt widgets to QML file and send them to your
>>> mobile device (or use in any computer) to with the CsoundRemote app.
>>>
>>> Not all widgets are supported yet but the main (Button, Label, Slider,
>>> Knob, SpinBox) work fine.
>>>
>>>
>>>
>>> You can find the source code and Android apk from the release page:
>>>
>>> https://github.com/tarmoj/CsoundRemote/releases/tag/0.2.2
>>>
>>>
>>>
>>> When there is any interest, I can put CsoundRemote to Google Play and
>>> make also Windows and MacOs packages. Version for iOs is definitely
>>> possible (and woks in iphonesimulator), but I have not figured out yet,
>>> how to deal with the loading of QML files (ha, the mysterious iOs file
>>> management...)
>>>
>>>
>>>
>>> Please try out and hopefully it is useful for someone!
>>>
>>>
>>>
>>> tarmo
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Csound mailing list Csound@listserv.heanet.ie
>>> |
| Date | 2019-01-31 19:45 |
| From | Tarmo Johannes |
| Subject | Re: [Csnd] CsoundRemote |
Thanks,
Good to hear! Interesting, some people have reported beta3 to crash and I am
on it, fix coming up, anyway it works for some though...
In future I a plan to develop QML support also for checkboxes, displays,
meters and what else is missing there...
greetings,
tarmo
On neljapäev, 31. jaanuar 2019 20:30.55 EET you wrote:
> hi tarmo -
>
> thanks for the good explanation. makes perfectly sense.
>
> i tried the qml export on two macs:
> - osx 10.10 with csoundqt 0.9.6-beta2
> - osx 10.12 with csoundqt 0.9.6-beta3
>
> both worked without any problems.
>
> ciao -
> joachim
>
> On 27/01/19 22:06, Tarmo Johannes wrote:
> > Thanks, Joachim!
> >
> > I think in most more simple cases CsoundRemote is easier to use: you don't
> > have to implement sending the messages nor set up the receiver -
> > CsoundRemote does it in one end and Csound in the other. You don't need
> > OSCListen and handling the OSC data in Csound, checking the triggers and
> > then doing something with the values - you just read the values from
> > channels like in case of API calls.
> >
> > The downside is that you have to understand at least little bit of QML and
> > if people prefer other languages or platforms, OSC enables to write your
> > own solution how it suits best.
> >
> > And for sending more complex data like several values at once, OSC is
> > superior.
> >
> > From the other hand with CsoundRremote and Csound UDP listener you can
> > send
> > events or compile whole bunch of Csound code with csound.compileOrc - so
> > you have other possibilities here.
> >
> > In genereal - I believe with CsoundRemote you get your solution working
> > much faster (especially if you export widgets from CsoundQt - then you
> > don't need to get to QML at all) than writing your implementations.
> >
> > If there is any latency diffrence or which is faster, I cannot tell.
> >
> > I am happy if people try it out! I pushed the example files to:
> > https://github.com/tarmoj/CsoundRemote/tree/master/examples
> >
> > Also, Mac peolple, please try of if
> > https://github.com/CsoundQt/CsoundQt/releases/download/0.9.6-beta3/
> > CsoundQt-0.9.6-beta3-2-MacOS.dmg
> > works for you (to export widgets to QML) - it is reported to crash, but
> > works for me. I need more info.
> >
> > Thanks!
> > tarmo
> >
> > On pühapäev, 27. jaanuar 2019 20:19.12 EET you wrote:
> >> hi tarmo -
> >>
> >> this is really great stuff. thanks so much for it, and also for the
> >> demos!! it really shows everything we need to know.
> >>
> >> i was wondering in which situation you would prefer OSC over the --port
> >> option. do you have any opinion about it?
> >>
> >> best -
> >>
> >> joachim
> >>
> >> On 21/01/19 14:24, Tarmo Johannes wrote:
> >>> Hi,
> >>>
> >>>
> >>>
> >>> I am glad to announce release of Csound Remote - a user-friendly app for
> >>> controlling Csound via UDP messages from the same or other computer,
> >>> tablet or smartphone.
> >>>
> >>> https://github.com/tarmoj/CsoundRemote/releases
> >>>
> >>>
> >>>
> >>> See two demos:
> >>>
> >>> General introduction:
> >>>
> >>> https://youtu.be/HzsS4s2d2NA
> >>>
> >>>
> >>>
> >>> How to create an animated user interface with QtCreator and control
> >>> Csound in 10 minutes:
> >>>
> >>> https://www.youtube.com/watch?v=tcbuuPq4t7g
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Since version 6.11 Csound has very flexible control over UDP messages
> >>> and I have used it in several projects to bring the user interface to
> >>> tablet that is with me on the stage while computer is sitting on a table
> >>> connected with the mixer. It has worked very well and I wanted to make
> >>> it more available for anyone. I have built an app that takes care of
> >>> sending/receiving the UDP messages, has a generic builtin interface and
> >>> is able to load custom interfaces in QML (Qt Metalanguae) where you can
> >>> use calls similar to usual Csound API, and that's it. For example:
> >>>
> >>>
> >>>
> >>> Slider {width: 100; onPositionChanged: csound.setControlChannel("value",
> >>> position) }
> >>>
> >>>
> >>>
> >>> QML is relatively simple, yet very powerful language that enables to
> >>> quickly create nice, well portable interfaces.
> >>>
> >>>
> >>>
> >>> There is another great feature that is available since CsoundQt-beta3:
> >>>
> >>> https://github.com/CsoundQt/CsoundQt/releases/tag/0.9.6-beta3
> >>>
> >>> you can export your CsoundQt widgets to QML file and send them to your
> >>> mobile device (or use in any computer) to with the CsoundRemote app.
> >>>
> >>> Not all widgets are supported yet but the main (Button, Label, Slider,
> >>> Knob, SpinBox) work fine.
> >>>
> >>>
> >>>
> >>> You can find the source code and Android apk from the release page:
> >>>
> >>> https://github.com/tarmoj/CsoundRemote/releases/tag/0.2.2
> >>>
> >>>
> >>>
> >>> When there is any interest, I can put CsoundRemote to Google Play and
> >>> make also Windows and MacOs packages. Version for iOs is definitely
> >>> possible (and woks in iphonesimulator), but I have not figured out yet,
> >>> how to deal with the loading of QML files (ha, the mysterious iOs file
> >>> management...)
> >>>
> >>>
> >>>
> >>> Please try out and hopefully it is useful for someone!
> >>>
> >>>
> >>>
> >>> tarmo
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Csound mailing list Csound@listserv.heanet.ie
> >>> |
| Date | 2019-02-01 06:14 |
| From | Brian Redfern |
| Subject | Re: [Csnd] CsoundRemote |
That's awesome you could do cool things with this matung it with webrtc data channels. On Mon, Jan 21, 2019, 6:24 AM Tarmo Johannes <trmjhnns@gmail.com wrote:
|
| Date | 2019-02-01 07:17 |
| From | Tarmo Johannes |
| Subject | Re: [Csnd] CsoundRemote |
I dont k ow much about it but then hou need still sometving that converts rtc messages received i browser ti udp messages that Csound can listen to. How? Tarmo 1. vee 2019 08:14 kirjutas kuupäeval "Brian Redfern" <brianwredfern@gmail.com>:
|
| Date | 2019-02-01 07:29 |
| From | Brian Redfern |
| Subject | Re: [Csnd] CsoundRemote |
You could use a webrtc server like janus to pass client data channel information to csound on the server, and then use gstreamer plus the janus broadcast plugin to enable multiple people to control a server side csound instance at the same time that then streams back the live music over rtp. On the browser side its just standard javascript using the webrtc html5 apis. On Fri, Feb 1, 2019 at 12:17 AM Tarmo Johannes <trmjhnns@gmail.com> wrote:
|