| Author |
Message |
moudi

Joined: Oct 07, 2006 Posts: 63 Location: Bern Switzerland
|
|
|
Back to top
|
|
 |
blue hell
Former site admin

Joined: Apr 03, 2004 Posts: 24864 Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320
|
Posted: Wed Dec 30, 2009 7:05 pm Post subject:
|
 |
|
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
|
|
 |
MusicMan11712

Joined: Aug 08, 2009 Posts: 1082 Location: Out scouting . . .
|
Posted: Wed Dec 30, 2009 7:54 pm Post subject:
|
 |
|
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
|
|
 |
moudi

Joined: Oct 07, 2006 Posts: 63 Location: Bern Switzerland
|
Posted: Thu Dec 31, 2009 4:09 am Post subject:
|
 |
|
| 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?
| 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
|
|
 |
blue hell
Former site admin

Joined: Apr 03, 2004 Posts: 24864 Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320
|
Posted: Thu Dec 31, 2009 4:20 am Post subject:
|
 |
|
| moudi wrote: | Is it ok to use yours on sourceforge?  |
They're all in the dictionary, so please go ahead! |
|
|
Back to top
|
|
 |
blue hell
Former site admin

Joined: Apr 03, 2004 Posts: 24864 Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320
|
Posted: Fri Jan 01, 2010 3:43 pm Post subject:
|
 |
|
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
|
|
 |
MusicMan11712

Joined: Aug 08, 2009 Posts: 1082 Location: Out scouting . . .
|
Posted: Sat Jan 02, 2010 4:34 am Post subject:
|
 |
|
| 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
|
|
 |
moudi

Joined: Oct 07, 2006 Posts: 63 Location: Bern Switzerland
|
Posted: Sat Jan 02, 2010 3:31 pm Post subject:
|
 |
|
| 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
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
|
|
 |
blue hell
Former site admin

Joined: Apr 03, 2004 Posts: 24864 Location: The Netherlands, Enschede
Audio files: 353
G2 patch files: 320
|
Posted: Sat Jan 02, 2010 3:50 pm Post subject:
|
 |
|
| 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 |
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
|
|
 |
moudi

Joined: Oct 07, 2006 Posts: 63 Location: Bern Switzerland
|
|
|
Back to top
|
|
 |
|