"set" in mesage by itself doesn't play with uzi and trigger objects.
If I press the "set" message in this patch, it clears the following message. However, when I try to clear the message from a trigger which also starts an uzi, it doesn't clear the list.
Also, the uzi won't let me connect the right inlet to another outlet on the trigger object except the one on the far right.
Is there some occult reason for this I don't understand?
fYI, my workaround was to replace the ‘set’ message with a ‘zlclear’ message to the to the ‘zljoin’ message, which worked. However I don’t understand why the set’ message by itself didn’t work, or why there’s a limitation on ordered events for the ‘uzi’s right inlet.
Umm.. the trigger message your sending to the message "set" is a list and not a bang. Try [ t b b i ] instead of [ t b l i ]
@Ernest the reason is that the set message only clear the content of the message box, so it doesn’t send an empty list to zl.join (there’s no such thing as an empty list anyhow, a list message without argument is just not a valid list). So you’re right, using zlclear is the best way to go.
BTW, you’re patch output something like this:
print: 1 2
print: 1 2 3
print: 1 2 3 4
print: 1 2 3 4 5
print: 1 2 3 4 5 6
print: 1 2 3 4 5 6 7
print: 1 2 3 4 5 6 7 8
print: 1 2 3 4 5 6 7 8 9
print: 1 2 3 4 5 6 7 8 9 10
print: 1 2 3 4 5 6 7 8 9 10 11
print: 1 2 3 4 5 6 7 8 9 10 11 12
if you just want to make a list of numbers from 1 to ? you can simply do something like this:
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 450.3ocuUFsaBCBEF951mhS35tkBUq5taOGKKFpk4vToM.04z369fC1ncS2T y1tABmdJ++70ygtMNhTTuVXHvCvSPTz13nHLjOPz90Qjk70yp3FLMhpcYgPS RBOpgam8pTMepVLyF1F5P18oI.MCmFl5GYtQ348uyK0JqQtQ3Sm5SJD1swRU kvhxP2GTVhhVWr3NZVmn0sVWd12aDAEIRkkj.jBtZNomLJ9RLGxiZIu5fo0t 3VgdpPwKpvLNxEgsGsAyGbWbreH4BAzRgwvmK5DyJVifgPAFjACfgPNLBFCS .ZJPoND7cvbbNxuwivIZFh1wWIMYmflryRyKAg8wD8FvjR7lyGegRaptettt s46XxnIHLFLDKvxtoBrSgjzyijjaAKreOrztQ9CEJgtNVJhiA4+ZP4rLA61R NL6aBuZDkcDhvWlTIUe9BI735i2mal5V8rN2zcCAb3DWJLVohak0piSpWNuJ KKEpiu.nTZ72IfDH8je.uX6jdI1w8QEn+O9omRmwNo+e3woD6uxNgZIdSyJg 1reOQm351VTq8KySvkRUXI9GGhVrR1kOpAgqcsZVWeVqNTMuNe.I1qyt3Ofi ckJC -----------end_max5_patcher-----------
That’s intereting. I’m, still learning about lists. I didn’t realize messages weren’t triggered by lists. I kind of assumed as everything else triggeed them, lists would too :)
I tried double quotes on the word ‘set’ in a prepend message too. MAX automatically inserted an escape character instead. However, when I saved the file and reopened it, the escape sequence had disappeared. Subsequent attempts to edit the text resulted in many strange errors, until I deleted the object and put another in.
And I blame Bill Gates for that, not Max…As I understand it, he tried to get rich when he was friends with Steve Jobs by making a little box, containing half a dozen transsitors, to generate tones that fooled the AT&T exchange into letting his customers make international calls on local tariffs. But someone apparently figured out how to do the same thing by recording the tones from the box, then sold the recording for less than they were. That got Gates so mad, he decided to reverse bskslasches on a new operating system so UNIX wouldn’t work, and no one would ever be able to steal from him again. Steve Jobs got angry at him and said he was selling absolutely nothing. Not only did he refuse to try and steal from AT&T with Gates again, but instead making hardware which no one was allowed to copy. The debate continues as to which of them was better at being bad)
All I’m saying is that in a list is something which has two or more values, the first of those values being a number. You’ll see some objects which support smaller lists but i would keep that in mind to stay out of trouble.
Could someone explain the difference between a single-elelment list containing a number, and a number?
Ah, there’s no such thing as a single-element list then. Sorry for being slow, I was somewhat exhausted this weekend from creating my own polyphonic voice assignment logic. The poly~ system works pretty well, but I needed something slightly more sophisticated.
THAN KS FOR THE HELP ON LISTS :)
On consideration after a great amount of sleep, I did realize where my confusion arises. zl objects are for list processing, and one can pass things into them which only have one element in them which are handled the same way as lists. So it’s semantically confusing to say they aren’t lists.
Forums > MaxMSP