Udprecieve only working with edit window open

Learn about building and using Max for Live devices.
trevox
Posts: 659
Joined: Wed Mar 23, 2011 12:58 am

Re: Udprecieve only working with edit window open

Post by trevox » Mon Apr 09, 2012 2:08 pm

uberdrums wrote:Sorry for not being more clear, I was hoping to document my findings here to help other people... but i think this thread has been comsumed by my nubeness.

I have been making other patches using udp. which are not as complex and more sucessful.

I am still learning about midi, filtering messages, triggering and numbers in max. All of which have been the issues with my device.

I stopped using the sunsend devices as i thought they could be over complicating everything.

I am trying to make a midi pitch shifter with the shift controlled by another midi note signal.

It works, but I had issues with flush holding notes. Which i sorted it out selecting another source for the flush.
Now the issue is if i have the 'carrier' notes at 16th notes only playing C and on the 2nd beat i send a 16th note to shift it up to D, the shift doesnt occur until a 16th after the 2nd beat.
I think it is more an issue of triggering rather than the udp.
If you post your patch, I will have a quick look. The most common reason for your issue is literally where the objects are placed in a patch (not presentation mode, but normal edit mode). Objects to the right or bottom will get sent to first. As a simple example, lets say you have an int object with changing values on each beat that you wish to bang as a note on the same beat. If you place the int object to the left, the note bang will happen first and therefore the changed value will not have happened until the next trigger. To fix, you would simply move the int object to the right so it gets sent to first.

Another thing you should look into is to stop treating midi pairs as such if possible. You can use "makenote" to make a note from a single value - or optionally you can include velocity if you wish. This is really handy for when you want notes of fixed length as given the fact it generates note offs, it does away with any stuck notes etc. You can of course change velocity and note length dynamically if you wish with this object. Another object called "stripnote" is pretty much the opposite in that it ignores note offs.

The "coll" object is another one that should become your friend. It stores lists in a way that the first value in the list is the index and the send value will be sent out any time you send the index value into the coll object. Really useful for all sorts of applications.

uberdrums
Posts: 45
Joined: Tue Mar 08, 2011 3:00 pm

Re: Udprecieve only working with edit window open

Post by uberdrums » Mon Apr 09, 2012 4:11 pm

How do you export patches as text files like I have seen here?

If you PM me your email adress I can send you a project file. That may be easier.

S4racen
Posts: 5987
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Udprecieve only working with edit window open

Post by S4racen » Mon Apr 09, 2012 6:24 pm

CMD A select all in patching mode, then in the edit menu, copy compressed...

That gives you the code...

Cheers
D

uberdrums
Posts: 45
Joined: Tue Mar 08, 2011 3:00 pm

Re: Udprecieve only working with edit window open

Post by uberdrums » Mon Apr 16, 2012 3:02 pm

Sorry I should have replied to my own thread earlier. I have stopped using the device as it just didn't sound very musical.
Since playing around with these max devices I don't like, I have learned skills that have made other (in my head - less musical) devices to work. Which have unexpectedly turned out to transform how I view and use Ableton. My current live set has been the same for a week and I am producing significantly different sounds everytime I turn it on. I am struggling to see how I will ever tire of it.

If you guys think that it might be useful to others to disect the udp devices, I will upload it. But it isn't much use to me.

Thanks to all of you for your help.

Post Reply