mc.line with individual release time
lets say I have 5 oscillators with a line adsr. I want to control each release time individually. you have values 100, 200, 300, 400 and 500ms for the release time. I have a mc.line with: 0, 1 10 1 1000 0 xy
Now how do I send the values so that it applies these individual release times?
so i'm aware that using the mc.adsr object with signals is probably the easier way. but i want to know how to do it with mc.line anyway.
I hope someone can help!
i´d use poly~, but i guess you want to look into mc.pack & co to format lists which are partially identical.
did you try mc.input?
@roman thilenius hmm i'd love to do it with pack, since I'd want to be able to easily adjust the release values. But I cannot figure it out.
Would each instance in the list have to be the full line message?: 0, 1 10 1 1000 0 nr1 0, 1 10 1 1000 0 nr2 0, 1 10 1 1000 0 nr3... Because when I test it nothing works. also when using applyvalues or setvalues with channel numbers.
I just cannot wrap my head around it ahhh :D
@wil thank you for the reply! Well that's a solution. It seems a little "complicated" though, since you have to put down a message for each instance. If you have 100 channels it will probably get a little difficult. Or maybe I don't see how to simplify it?
If you have 100 channels it will probably get a little difficult. Or maybe I don't see how to simplify it?
Depends on the the way you want to control those 100 channels. Do you need fully custom value for each individual channel? Is there some kind of relationship between them, like having a release time of 100, 200, 300, 400 [...], 10000? Or something else?
Since only the release time changes, here's an example that works by providing a single list of the release time for all channels. Then it's up to you to decide how you want to build that list.
if single lists in "1 2 3, 1 2 3" style, then [uzi] is your friend.
otoh, a sophisticated envelope might use individual line~ passes per segment anyway, then the message formatting for different release times will be easier under mc. conditions.
@Roman Thilenius thanks again for your response! well i'm not sure what you're trying to say. Does that mean I have to send the messages individually in fast succession by using uzi? There is no way to just send one list then? Is that what you're saying? Interesting!
edit: yea idk why i forgot about uzi. this is the solution i came up with. idk if there is a better way. let me know!
let´s start from the end, what do you need? you want to create commands in the following form:
"setvalue $1 0, setvalue $1 1 100 1 1000 0 $2"
shorter is not possible afaik.
so even if you use a messagebox object as drop off point, it is still always two messages - that can never be avoided for mc.line~.
alright yea, thanks again! this works:)
also interesting to see that your first setvalue is for the initial value of mc.line. i tried to figure out how to give it a initial value, for me it luckily just worked but I guess this is how you do it properly!
thanks again^^