fooey

2 views
Skip to first unread message

weevil

unread,
Jan 14, 2010, 10:11:36 AM1/14/10
to Austin Creative Code
Well, it looks like there's only allowance for sending to one ip
address in midiviaosc, so the best solution may be to write something
in max4live after all. :/

I don't suppose there's any chance someone has already built a patch
like this, or has a tutorial up? We just need to make a midi-to that
will send to an osc client, and then we can do a different version
pointing to another osc client for another midi track.

Anthony Palomba

unread,
Jan 14, 2010, 10:47:27 AM1/14/10
to atxcrea...@googlegroups.com
I think I can whip something like that. I am at work right now,
will see what I can do when I get home.



Anthony



--
You received this message because you are subscribed to the Google Groups "Austin Creative Code" group.
To post to this group, send email to atxcrea...@googlegroups.com.
To unsubscribe from this group, send email to atxcreativeco...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/atxcreativecode?hl=en.




weevil

unread,
Jan 14, 2010, 4:44:14 PM1/14/10
to Austin Creative Code
You are a shining young god who I will sacrifice a suckling calf to.

On Jan 14, 9:47 am, Anthony Palomba <apalo...@austin.rr.com> wrote:
> I think I can whip something like that. I am at work right now,
> will see what I can do when I get home.
>
> Anthony
>
>
>
> On Thu, Jan 14, 2010 at 9:11 AM, weevil <wileywg...@gmail.com> wrote:
> > Well, it looks like there's only allowance for sending to one ip
> > address in midiviaosc, so the best solution may be to write something
> > in max4live after all. :/
>
> > I don't suppose there's any chance someone has already built a patch
> > like this, or has a tutorial up? We just need to make a midi-to that
> > will send to an osc client, and then we can do a different version
> > pointing to another osc client for another midi track.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Austin Creative Code" group.
> > To post to this group, send email to atxcrea...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > atxcreativeco...@googlegroups.com<atxcreativecode%2Bunsubscribe@ googlegroups.com>

Anthony Palomba

unread,
Jan 14, 2010, 5:28:20 PM1/14/10
to atxcrea...@googlegroups.com
Just to be sure we are on the same page.

This device will take a specified IP address and port and bind a OSC connection to it.
It will then route all MIDI data that comes in on that track to the OSC connection.

I assume your VDMX thingy will have different IP addresses, yes?



Anthony



To unsubscribe from this group, send email to atxcreativeco...@googlegroups.com.

Toto Miranda

unread,
Jan 14, 2010, 6:11:20 PM1/14/10
to Austin Creative Code
Howdy!

Jus' checkin in...

working with mr. weevil on this business. Hello wiley!

may have some max4live questions related to what we're talking about
here, but one thing at a time...

excited to see what you come up with, anthony...nice to internet-meet
you!


Toto

weevil

unread,
Jan 14, 2010, 6:15:09 PM1/14/10
to Austin Creative Code
Toto is in a rocking and rolling band called The Octopus Project.
theoctopusproject.com

He is of no relation to the band "Toto".

weevil

unread,
Jan 14, 2010, 6:19:54 PM1/14/10
to Austin Creative Code
There are two different vdmx machines, each with a unique ip, on the
same ad hoc network with the Ableton/ max4live machine. We haven't
found any need yet to have any communication back to Live yet. The
VDMX machines are listening for midi over osc in order to trigger
clips and effects.

here's a rough sketch of the setup that will probably give no more
helpful information, but is a pretty shade of purple:
http://wileywiggins.com/stage.html

Anthony Palomba

unread,
Jan 14, 2010, 6:56:55 PM1/14/10
to atxcrea...@googlegroups.com
Hmmm one problem, I see from your awesome picture that you are using Macs.

I use Windows, I am not sure if my build of the device will work on a Mac. We can
try it, and see. We may need someone with a Mac Max/M4L setup to save a
Mac version of the device. 



-ap


weevil

unread,
Jan 14, 2010, 10:51:06 PM1/14/10
to Austin Creative Code
Toto has it. If you show him how I'm sure he can build it.

> > atxcreativeco...@googlegroups.com<atxcreativecode%2Bunsubscribe@ googlegroups.com>

Anthony Palomba

unread,
Jan 15, 2010, 10:48:09 AM1/15/10
to atxcrea...@googlegroups.com
I am putting things together. One question, how does the VDMX thingy
expect OSC data to be formatted?

For example:

controller 32, value 127 would be formatted as "oscrouter/controller/32,127"

note 64, value 127 would be formatted as "oscrouter/note/64,127"

Let me know if this works for you or if you need it in some other format.




Anthony



To unsubscribe from this group, send email to atxcreativeco...@googlegroups.com.

weevil

unread,
Jan 15, 2010, 2:27:57 PM1/15/10
to Austin Creative Code
From the vdmx dudes (http://vidvox.com):

<blockquote>

Hey weevil,

There's really no need for an API / a wiki page on how VDMX should
receive OSC- each value should simply be sent to a unique address
path.

Additionally, you should normalize any values to fit in the range 0.0
to 1.0 before sending.

When developers follow these conventions messages being sent will work
with even the most primitive implementation for receiving OSC values
without the need for any special formatting or an API.

Good:
/oscrouter/controller/32/1.0
/oscrouter/note/12/0.5

Bad:
/oscrouter/controller/32,127
oscrouter/note/12,64

We consider OSC messages containing "lists" to be untyped data and
they are currently not supported*.

A similar discussion regarding the Monome's use of OSC can be found
here:
http://www.vidvox.net/phpBB2/viewtopic.php?t=3205

- David @ VV

</blockquote>

* We may add some support for lists in the future to improve
compatibility with developers who insist on using these ad-hoc data
types.

Anthony Palomba

unread,
Jan 15, 2010, 2:53:33 PM1/15/10
to atxcrea...@googlegroups.com
Awesome, that is exactly what I need.
Should have something for you tomorrow.



-ap



To unsubscribe from this group, send email to atxcreativeco...@googlegroups.com.

Anthony Palomba

unread,
Jan 16, 2010, 4:47:59 PM1/16/10
to atxcrea...@googlegroups.com
Okay I believe I have something working. This should take all midi data, format it,
and send it to an IP address and port. Default is set to localhost.

Give it a try and let me know if it works. I can send you the original max patch if
my build does not work on your mac.



Anthony
M4L OSCRouter.rar

weevil

unread,
Jan 17, 2010, 1:35:36 PM1/17/10
to Austin Creative Code
It seems to be outputting alright, although toto said he wasn't seeing
anything in the vdmx osc input display yet. might just need some
additional network fiddling. Can you post the max patch as well? I
want to share it with the vdmx forum.

On Jan 16, 3:47 pm, Anthony Palomba <apalo...@austin.rr.com> wrote:
> Okay I believe I have something working. This should take all midi data,
> format it,
> and send it to an IP address and port. Default is set to localhost.
>
> Give it a try and let me know if it works. I can send you the original max
> patch if
> my build does not work on your mac.
>
> Anthony
>

> On Fri, Jan 15, 2010 at 1:53 PM, Anthony Palomba <apalo...@austin.rr.com>wrote:
>
>
>
> > Awesome, that is exactly what I need.
> > Should have something for you tomorrow.
>
> > -ap
>

>  M4L OSCRouter.rar
> 4KViewDownload

Toto Miranda

unread,
Jan 17, 2010, 4:45:05 PM1/17/10
to Austin Creative Code
indeed

the patch loads fine, and all the windows populate when they get the
appropriate midi signals, but i can't seem to pick up osc with an
application trying to receive. could very well be something on my
end, as I am very new to the osc game...any tips on things I should
check?

I also have a couple max questions that could help me sort things out
- please forgive if they are obvious:

-does 127.0.0.1 refer to localhost?

-if I built another simple max4live patch that was a udpreceive (on
the correct IP and port) linked to a midiout object, should I be able
to receive midi on another track in live with this receiver patch?
From your router patch, I mean. Or do I need to format the output
from the udpreceive object in another way? Hope that question makes
sense.


Thanks!

weevil

unread,
Jan 17, 2010, 5:16:24 PM1/17/10
to Austin Creative Code
I think it should be cool, he was trying to test it with only one
machine. We'll try it out when we all get together.

Toto Miranda

unread,
Jan 17, 2010, 5:17:55 PM1/17/10
to Austin Creative Code
like i said, new to the game

Anthony Palomba

unread,
Jan 17, 2010, 6:46:46 PM1/17/10
to atxcrea...@googlegroups.com
Yes, 127.0.0.1 refers to localhost (your machine), so you should be
able to pick up the messages you send to yourself if you have a Max
patch that is listening on that port.

If you are sending OSC messages to an external IP address make
sure the port you are using is open.

I have attached the original patch and a test patch that allows
you to test OSC in Max. Be aware that it appears that Max will
only allow one binding to a port when listening so, you may need
to remove the one in osctest.maxpat.

Also you will need some CNMAT externals if you are going to
run the Max patches. They can be found at...
http://cnmat.berkeley.edu/downloads


Anthony


--
You received this message because you are subscribed to the Google Groups "Austin Creative Code" group.
To post to this group, send email to atxcrea...@googlegroups.com.
To unsubscribe from this group, send email to atxcreativeco...@googlegroups.com.
osc test.maxpat
M4L_oscrouter.maxpat

Toto Miranda

unread,
Jan 18, 2010, 1:35:28 PM1/18/10
to Austin Creative Code
thanks for the help!

will let you know how things go when we have our next group meeting
and get our machines talking to each other.

On Jan 17, 5:46 pm, Anthony Palomba <apalo...@austin.rr.com> wrote:
> Yes, 127.0.0.1 refers to localhost (your machine), so you should be
> able to pick up the messages you send to yourself if you have a Max
> patch that is listening on that port.
>
> If you are sending OSC messages to an external IP address make
> sure the port you are using is open.
>
> I have attached the original patch and a test patch that allows
> you to test OSC in Max. Be aware that it appears that Max will
> only allow one binding to a port when listening so, you may need
> to remove the one in osctest.maxpat.
>
> Also you will need some CNMAT externals if you are going to

> run the Max patches. They can be found at...http://cnmat.berkeley.edu/downloads


>
> Anthony
>
> On Sun, Jan 17, 2010 at 4:17 PM, Toto Miranda

> <sleepingintran...@gmail.com>wrote:


>
> > like i said, new to the game
>
> > On Jan 17, 4:16 pm, weevil <wileywg...@gmail.com> wrote:
> > > I think it should be cool, he was trying to test it with only one
> > > machine. We'll try it out when we all get together.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Austin Creative Code" group.
> > To post to this group, send email to atxcrea...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > atxcreativeco...@googlegroups.com<atxcreativecode%2Bunsu...@googlegroups.com>


> > .
> > For more options, visit this group at
> >http://groups.google.com/group/atxcreativecode?hl=en.
>
>
>

>  osc test.maxpat
> 6KViewDownload
>
>  M4L_oscrouter.maxpat
> 108KViewDownload

weevil

unread,
Jan 18, 2010, 6:19:59 PM1/18/10
to Austin Creative Code
I'm going to make you come to the next Creative Code meeting, Toto.

Whenever that is, anyway...

> > > atxcreativeco...@googlegroups.com<atxcreativecode%2Bunsubscribe@ googlegroups.com>

weevil

unread,
Jan 21, 2010, 11:27:43 AM1/21/10
to Austin Creative Code
Well, we had some hangups trying to use the plugin. When we set up our
computers, we had midi sending via osc with the plugin, and receiving
on port 8000 on the other machine, as seen in your test app, but when
we tried to change the port to 1234 or 3333, the default osc ports in
VDMX, we never saw any receiving data in VDMX.

We did, as a fallback, get the setup working by using a few copies of
a piece of software we found called Osculator:
http://www.osculator.net

We may stick with that for now because it's working, but I think it
would be really educational for us to get together at the next atxcc
group meeting and play with max4live some more.

Anthony Palomba

unread,
Jan 21, 2010, 11:49:11 AM1/21/10
to atxcrea...@googlegroups.com
Hmmm are you sure you had ports 1234 and 3333 open
on your computer?

I would love to get together some time and see it working.
Let me know when the next meeting will be.


-ap


To unsubscribe from this group, send email to atxcreativeco...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages