[coll] "sort" and "renumber" question

loadmess's icon

Hi all,
I have a small patch to sort and renumber the contents from a dictionary.
After sorting the contents I want to "renumber" the indexes, but nothing seems to happen.
The dictionary should already be with some contents to test.
Is this a bug or i'm doing something wrong?

Thank you in advance!

Max Patch
Copy patch and select New From Clipboard in Max.

sort-renumber.maxpat
Max Patch
mzed's icon

I can confirm that renumber doesn't seem to do anything in this case.

loadmess's icon

Thank you for replying.
Is it possible that pulling contents from a dict treats data as symbols somehow? Anyway, I don't get any error message.

broc's icon

Yes, the indexes in your coll are symbols. You can see it when sorting the indexes (sort -1 -1).

loadmess's icon

I did a "work around" to solve this case.
Here's the solution if anyone interested.
Thank you

Max Patch
Copy patch and select New From Clipboard in Max.

sort-renumber-2.maxpat
Max Patch
Katy Blake's icon

Hi, I am a complete beginner with MAX and to be honest I am finding it really complicated. :-(

I want to create a simple melody on a synth using the 'coll' object. I do not know where to start.....please can someone point me in the direction of where to start? I can send you my patch, but is a working progress and it is not at all completed yet. I want my finished patch to have the following:
1) Simple synth playing a basic melody with small delay.
2) 2 drums - 1 snare and 1 kick drum to accompany the melody of the synth
3) A small delay added to the synth
4) Incorporate 'preset' to add creativity to the patch.

Can anyone help?

patch_me_in's icon

Hi Kate. It would be best if you would have started this as a new thread, that way others in this tread won't get notifications to your query. Here is a small patch to answer some of your questions. If you have any further questions on this, start it as a new thread and ill probably see it and answer (or someone else will). I don't mean this to be rude.

coll_synth.maxpat
Max Patch
Katy Blake's icon

Hi,

Thanks, I will start a new thread. I will title it 'beginners help'