Print

Print


Hi,

Winforms seems nice platform to create the interface.

Do you know or have you concidered using UDP messages instead of OSC for 
controlling Csound? Since 6.10 you can set channel values with UDP messages, 
if csound is started with --port flag like

@your_channel 0.25

see https://csound.com/docs/manual/udpserver.html
- it is very powerful way to control Csound! I have used similar setup on Qt 
platform.

I know little about C# and .NET but I guess writing a function that sends UDP 
message should be not too complicated -  so you can skip the OSC server and 
converting channel values to OSC and back.

tarmo


On Sunday, August 12, 2018 10:27:07 AM EEST you wrote:
> I am working on a nice project with C#, Winforms, OSC and Csound.
> The structure is as follows:
> 
> Windows PC                                                    Mac
> GUI element (e.g. slider) ->OSCy class ==> Python OSC server => channel
> or OSC message -> Csound
> 
> The name of the GUI element is the channel or OSC name, e.g.:
> 'att'    will be converted to a channel message with the same name
> 'att_'  will be converted to an OSC message '/att'
> 
> Seems to work quite well!
> 
> Richard
> 
> Csound mailing list
> [log in to unmask]
> 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
[log in to unmask]
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