electro-music.org   Dedicated to experimental electro-acoustic
and electronic music
 
 Front Page  |  Radio  |  Forum  |  Media  |  Playlists  |  Wiki
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
OSControl
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
moudi



Joined: Oct 07, 2006
Posts: 63
Location: Bern Switzerland

PostPosted: Wed Dec 30, 2009 6:41 pm    Post subject: OSControl
Subject description: Open source GUI designer
Reply with quote  Mark this post and the followings unread

Hi all

Vadim and me were thinking about an implementation of a GUI component in the chuck editor. I started working on this and ended up with another open source project for it. Smile
The idea/concept is to create a GUI in a "visual studio like" form designer and store it in a XML file using serialization. The XML file can then be loaded and its controls will send/receive OSC messages.
Please have a look and check it out here:
https://sourceforge.net/projects/oscontrol/

Plese note that it is windows only at the moment because it is coded in C#. Fortunately, the mono check returned not a single problem. So, if there's an interest to run it on mac/linux, i will start porting it to mono.

what do you think about it?
cheers
/moudi


Editor.jpg
 Description:
OSControl Editor
 Filesize:  219.86 KB
 Viewed:  395 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

Editor.jpg


Back to top
View user's profile Send private message Visit poster's website
blue hell
Former site admin


Joined: Apr 03, 2004
Posts: 24864
Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320

PostPosted: Wed Dec 30, 2009 7:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

A general purpose OSC sending user interface toolkit?

wow, I had been thinking about writing my own, the last couple of weeks ... just what the doctor ordered!

Will check it out in a couple of days, kind of busy now with the NYE thingie.

Great idea!
Back to top
View user's profile Send private message Visit poster's website
MusicMan11712



Joined: Aug 08, 2009
Posts: 1082
Location: Out scouting . . .

PostPosted: Wed Dec 30, 2009 7:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

I just got as far as dragging and tweaking objects and as for ease of use, its great!! Now I need to figure out how to use it. I have written some ChucK scripts to route and process midi data, and if I can figure out how to interface OSControl with ChucK, it might be just what I have been dreaming of. Thanks for developing this and posting it.

--Steve
Back to top
View user's profile Send private message
moudi



Joined: Oct 07, 2006
Posts: 63
Location: Bern Switzerland

PostPosted: Thu Dec 31, 2009 4:09 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
A general purpose OSC sending user interface toolkit?

Exactly. Actually, your description describes it better than my own words. Is it ok to use yours on sourceforge? Smile

MusicMan11712 wrote:
and if I can figure out how to interface OSControl with ChucK...
it's quite easy. I recommend you to start with the OSC samples in examples\osc

jassas
/moudi
Back to top
View user's profile Send private message Visit poster's website
blue hell
Former site admin


Joined: Apr 03, 2004
Posts: 24864
Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320

PostPosted: Thu Dec 31, 2009 4:20 am    Post subject: Reply with quote  Mark this post and the followings unread

moudi wrote:
Is it ok to use yours on sourceforge? Smile


Laughing They're all in the dictionary, so please go ahead!
Back to top
View user's profile Send private message Visit poster's website
blue hell
Former site admin


Joined: Apr 03, 2004
Posts: 24864
Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320

PostPosted: Fri Jan 01, 2010 3:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

moudi, I downloaded this and then made the example form from the PDF. I'm running into something that I do not understand ... could be lack of OSC protocol knowledge.

I used ports 9000 and 9001 in TCP mode and I ran a listener program on TCP port 9000 - this is not an OSC enabled program, just a thingie that will allow me to see connections being established and data being exchanged.

I saved the design from the editor and opened it in the main main App, and then I get an error popping up:

"The requested address is not valid in its context"


I can see that a connection is being established with destination port 9000, and that connection will be broken again when I quit the main OSControl application.

The validator says that all is ok.

Any idea what I might be doing wrong?
Back to top
View user's profile Send private message Visit poster's website
MusicMan11712



Joined: Aug 08, 2009
Posts: 1082
Location: Out scouting . . .

PostPosted: Sat Jan 02, 2010 4:34 am    Post subject: Reply with quote  Mark this post and the followings unread

moudi wrote:
it's quite easy. I recommend you to start with the OSC samples in examples\osc

Thanks for the tip. I ran both demos via miniaudicle and with guidance from a couple of chatters successfully read an OSControl designed fader in a modified r.ck (the demo that connects to s.ck and plays random notes). I am hoping to do some more testing and perhaps post code segment for others to try. Are you taking requests for OSControl objects?

Again, thanks for OSControl1.0.
Back to top
View user's profile Send private message
moudi



Joined: Oct 07, 2006
Posts: 63
Location: Bern Switzerland

PostPosted: Sat Jan 02, 2010 3:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Any idea what I might be doing wrong?

A Knob (which i used in the example) can send AND receive OSC messages. This means you need to establish two connections. One on port 9000 for sending and one on 9001 for receiving messages. So my guess is that you missed to establish an OSC Client (sender) on port 9001?

Btw: i heard that UDP should be favored when using OSC. TCP needs handshakes and makes failure checks on each packet. This is not the best for time relevant applications such as music and video apps.
Further it has the advantage that it's not needed to add a client on port 9001 Wink

If you want to check what data is transmitted, i can recommend you the osc monitor here: http://www.frieder-weiss.de/OSC/index.html

MusicMan11712 wrote:
Are you taking requests for OSControl objects?
Do you mean new kinds of controls? of course, just let me know.
Probably it would be the best you add a feature request on source forge for this?

jassas
/moudi
Back to top
View user's profile Send private message Visit poster's website
blue hell
Former site admin


Joined: Apr 03, 2004
Posts: 24864
Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320

PostPosted: Sat Jan 02, 2010 3:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

moudi wrote:
A Knob (which i used in the example) can send AND receive OSC messages. This means you need to establish two connections. One on port 9000 for sending and one on 9001 for receiving messages. So my guess is that you missed to establish an OSC Client (sender) on port 9001?


Yes I had not realized there would be two way traffic ... thanks for clearing that up.

Quote:
Btw: i heard that UDP should be favored when using OSC. TCP needs handshakes and makes failure checks on each packet. This is not the best for time relevant applications such as music and video apps.
Further it has the advantage that it's not needed to add a client on port 9001 Wink


Yes, I am aware of that, it is just that I happen to have a program in which I can easily open as many new ports as I want, but it can only use TCP.

Will try some more things now, thanks again!
Back to top
View user's profile Send private message Visit poster's website
moudi



Joined: Oct 07, 2006
Posts: 63
Location: Bern Switzerland

PostPosted: Sun Jan 03, 2010 8:21 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Yes I had not realized there would be two way traffic ... thanks for clearing that up.

uhm... i think this should be somehow mentioned in the getting started manual.
I've added a list of all supported controls and indicators which of them can send/receive and which data types are supported.


Getting started.pdf
 Description:
Revised manual with list of supported controls.

Download (listen)
 Filename:  Getting started.pdf
 Filesize:  82.06 KB
 Downloaded:  424 Time(s)

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Log in
Username:     Password:      Log me on automatically each visit    


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2026 by electro-music.org