How can I generate a number series list?
Hello all!
I'm new to Max and still wading through the tutorials. I'm trying to achieve this:
I want to have a list generated starting with the number 1 every time, and ending at a number set by an integer box. I'd like the whole list to be created at once, then have each individual number in that list multiplied by a number set by a float box.
The only part I can't figure out is the list generator. Any tips/help would be greatly appreciated, and thank you in advance for taking the time to lend a hand =)
Here's one way of doing it.
simplified, don't need counter:
If uzi gets 0 or negative int, list gets cleared this way
Thank you for your help! I've run into another problem, so here's what I'm trying to do:
I'm trying to make it so that when I play a note (sent to poly~), I want to automatically tell poly~ to play subsequent harmonics which, for now, are simply f*n, where f is the current frequency playing, and n is the max voice number. This will produce a dense sound in poly~ where every voice is being used, based on the maximum number of voices set by a number box.
My current patch looks too messy for me to post it, but I can recreate it in a neater patch if need be. Where I'm currently at, I'm trying to make that also polyphonic MIDI-wise, so I'm thinking poly~ within a poly~, but I'm worried that's too much processing. Mind you, the top level poly~ won't need to have changeable variables as long as it creates a polyphony on note input.
Thanks again for you help! It is truly appreciated!
for 4-8 voices only i would prefer running the 8 voices in parallel over the use of poly inside poly.
the most straight forward way of polyphony would be a round robin system using something like [cycle]
you can turn off a currently unused poly patcher via "mute 1" - [thispoly] in this case.
I don't fully understand what you mean. Should I have 8 poly~ patchers running in parallel? Still a bit new to Max, sorry! And how can I make the MIDI input dictate what's muted and what's not?
Here's a working patch of my synth. Sadly the only copy that still works fine is the .mxf one, but you can see all the details of what I've done. I'm guessing there are tons of mistakes made, but it should give you an idea of what I'm trying to do.
Ryan, here is a maxpat out of Your mxf file...
Thank you sir! How did you do that, if I may ask?
Not everything got copied it seems. The patchers attached to it didn't show up. Did they show up in the .mxf though?
You must have subpatchers somewhere, or ?
anyway it is a good lesson to store stuff with patcher inside,
and not refering to external patchers.
You have to rebuild the missing patchers yourself, stuff inside is visible in mxf file.
To make maxpat out of mxf file, just remove text mx@c
sorry my message got shortened somehow.
You have to remove mx@c
Thank you so much for your time and help, sir! I'm quite new here and still learning the fundamentals. I'm rebuilding the whole thing again to have a clearer layout. How do I store the poly~ patch within the maxpat though? Since I have to save the poly~ patcher as a separate file to get it to work.
Hmm this is strange, my message allways gets cut after text entry .
I will post it as screen shot.
So to finally finish the message, remove the text at the beginning of mxf file
using any text editor, save and rename form .mxf to .maxpat
Embedded patchers can't be retreived easy, bpatchers could
Alright makes sense now. Much appreciated!
Missing parts have nothing to do with poly.
Missing are embedded patchers like Harmonics, SelectWave etc.
Next time make new object and put p in front and copy stuff from
[Harmonics} into [p Harmonics].
Then You have all things in the main patcher.
It seems that even png file can't be uploaded.
So the text to be removed is at the very beginning.Wenn You remove it, this is what
beginning of the file should look like :
{
"patcher
Haha! Unlucky. Alright I'll take note of that when I post the next patcher =)
yes, the poly patchers parallel. and you dont need to know which ones are busy, you can jut control that yourself (using cycle)
I will try that now. Would you mind elaborating on using [cycle] and [mute 1] to manage the voices?
Also, would you advice putting the envelopes withing the poly~ or is it better to just have one envelope controlling the final signal? I'm leaning on additive synthesis at the moment as it's the easiest route for me to learn Max due to it's simplicity.