Reading a pattern and increment to the next one

ZeroValue's icon

Hi everybody,

I wish to read every letter so 8 midi notes values (octet) and then go to the next letter
I'm looking for the index value of the multi sliders : when it reaches 8 go to the next letter.
but nothing work nor the good way to do it
Every help would be very appreciate :)

Zolt'

SeqText.amxd
amxd 26.04 KB

Jeremy's icon

Here's a rudimentary version to show you how to do what you want (I think). It's not clocked or anything, just uses an Uzi, so you'll need to do more work before it's done.

SeqText.amxd
amxd 26.06 KB

ZeroValue's icon

So if I understand you create the full list and then with "Iter" you split it into small part ?

In the same time tried to convert the full list into an entire sequence (ex : 8 characters * 8) and then play that but stuck again ahah :)

Jeremy's icon

Yes, I create an 8-member list of binary values and use iter to split it up. If you want to time all of this, you'll need to reintroduce a metro or similar and a counter. Both at the point where the letters are fed into your ascii->binary converter and at the point where 'iter' is being used. Check out the zl.lookup object, since you can use it in both places to read a single value out of the list.

ZeroValue's icon

My night is going to be short but hectic :)
Thank for your help !!

ZeroValue's icon

Have a problem with "iter" it's sending 0 & 1 at the same time.
Other problem is that I can switch between different part of the list but not after a count of 8

TextUsingUzi.amxd
amxd 29.52 KB

ZeroValue's icon

is the solution to create a full sequence couldn't be a better way to do that ?
but I really like to understand how to do it with uzi :/

Jeremy's icon

I haven't tested this to see if the two metros are properly synced, but this is a possible solution. There are definitely better ones which either use a single metro object or a phasor~ or something to ensure that there's only one definitive clock. I did it the way I did out of laziness more than anything.

TextUsingUzi.amxd
amxd 29.56 KB

ZeroValue's icon

We lost some bits with this solution
I added a master time divider for metro but this is going crazy
the sequence is totally messy,
the letter selection seems to work well

I don't know where to go :/

SeqText.amxd
amxd 44.55 KB


Jeremy's icon

There was a mispatched cable. Try this one.

SeqText.amxd
amxd 44.57 KB

ZeroValue's icon

Scratch my head to integrate this part of the patch in the full one but it seems to work !!!!
I have few update to do on it but I know that's work
Just a strange issue on the first 8 notes I always lost the 7th ones ?

This is my first Max msp patch pretty proud of it :)
Thank you so much for your help