adsr~ instead of function?

Sep 26, 2008 at 4:32pm

adsr~ instead of function?

Hello

Im mosttly using function with line~ to multiply with my oscillators to make ordinary envelopes, can I just use adsr~ instead (like in Reaktor)

#40016
Sep 27, 2008 at 7:44am

marlon brando schrieb:
> Im mosttly using function with line~ to multiply with my oscillators
> to make ordinary envelopes, can I just use adsr~ instead (like in
> Reaktor)

Yes, why not. But its not clear what you mean with “like in Reaktor”.
Only max users who switch from Reaktor to Max know Reaktor, there are
not so many who would touch it if they are into Max… ;-)

And why would you give up the way higher flexibility for creating
envelopes with function for a restricted envelope? Only to keep stuck
with ancient analog limitations?

Anyway adsr~ has no UI, but you could create one with function or lcd or
jsui…

– Pasted Max Patch, click to expand. –


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#141251
Sep 27, 2008 at 10:24am

Hey, Thanks !

Im new to Max5, how do I paste the patch you posted?

#141252
Sep 27, 2008 at 1:20pm

File > New from clipboard

#141253
Sep 27, 2008 at 7:45pm

Then another window opens with all the text?

#141254
Sep 27, 2008 at 7:50pm

Make sure you copy all of the “funny” lines, including the line that read:

– Pasted Max Patch, click to expand. –

-C

#141255
Sep 27, 2008 at 8:44pm

Still doesnt work for me to paste the text :(

#141256
Sep 27, 2008 at 9:01pm

#141257
Sep 27, 2008 at 9:19pm

Quote: Stefan Tiedje wrote on Sat, 27 September 2008 03:44
—————————————————-
>
> Anyway adsr~ has no UI, but you could create one with function or lcd or
> jsui…
>

don’t forget the classic 4 slider set up.

– Pasted Max Patch, click to expand. –
#141258
Sep 27, 2008 at 9:23pm

yeah,

Ill try again tomo, obviously did something stupid wrong,

I tried with some other patch from this forum too, and it also just opened as a text in a new window.

Thanks for trying to help me though

cheers!

#141259
Sep 27, 2008 at 9:46pm

On 27 sept. 08, at 23:23, marlon brando wrote:

> yeah,
>
> Ill try again tomo, obviously did something stupid wrong,
>
> I tried with some other patch from this forum too, and it also just
> opened as a text in a new window.
>
> Thanks for trying to help me though

Make sure you have 5.0.1 (5.0.2?) or higher. And as Chris mentioned
include both lines of text:

– Pasted Max Patch, click to expand. –

ej

#141260
Sep 28, 2008 at 11:51am

yeah, the newest version solved it !! :)

#141261
Sep 28, 2008 at 6:40pm

“And why would you give up the way higher flexibility for creating
envelopes with function for a restricted envelope? Only to keep stuck with ancient analog limitations?”

Yeah, the adsr is limited, but im kind if used to it, and it does what i want.
I would be greatful if you could post an example with an adsr~ controlling filter frequency of an svf~.

Cheers & thanks a lot for your help !

#141262
Sep 29, 2008 at 8:38am

marlon brando schrieb:
> Yeah, the adsr is limited, but im kind if used to it, and it does
> what i want. I would be greatful if you could post an example with an
> adsr~ controlling filter frequency of an svf~.

Better just with function (you can do so much more wild things with it,
including several sustain points…)

The trick is to define the range with a Midi value, and then translate
it with mtof/mtof~ into a frequency…

– Pasted Max Patch, click to expand. –


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#141263
Sep 29, 2008 at 9:54am

Thank you so much

#141264
Sep 29, 2008 at 7:25pm

Hi again,

I have 16 sliders connected to a 1 bar (16 16th notes) step sequencer, and want each slider to control the decay part of the function adsr~.

How should I proceed to connect the slider values to the function?

Cheers & Thanks

#141265
Sep 29, 2008 at 8:26pm

Hi,

One problem I have with Stefan Tiedje`s patch is that there is a problem with getting an instant value change from the attack part to full sustain when in “adsr mode”.

#141266
Sep 29, 2008 at 8:30pm

On Sep 29, 2008, at 12:25 PM, marlon brando wrote:

> I have 16 sliders connected to a 1 bar (16 16th notes) step
> sequencer, and want each slider to control the decay part of the
> function adsr~.
>
> How should I proceed to connect the slider values to the function?

There are always so many different ways to accomplish things in Max,
that without seeing your patch, it’s hard to give concrete advice

One approach would be to pack them into a list and iterate through the
list.

You could also have a series of int objects which take the sliders
into their right inlets and get banged when their step is active.

Or, if the 16 sliders were a multislider you could iterate through
them with the fetch message.

-C

#141267
Oct 1, 2008 at 2:26am

> Make sure you have 5.0.1 (5.0.2?) or higher. And as Chris mentioned
> include both lines of text:
>
>

– Pasted Max Patch, click to expand. –

>
> ej
>
>
>
—————————————————-
I don’t have Max5 yet.
Does this work with Max 5 Runtime?

I’ve been trying, but get the same problem and can’t find a new from clipboard option.

#141268
Oct 1, 2008 at 7:55am

New From Clipboard is only present in the normal (editable) version.

ej

On 1 oct. 08, at 04:26, pechnatunk wrote:

>
>> Make sure you have 5.0.1 (5.0.2?) or higher. And as Chris mentioned
>> include both lines of text:
>>
>>

– Pasted Max Patch, click to expand. –

>>
>> ej
>>
>>
>>
> —————————————————-
> I don’t have Max5 yet.
> Does this work with Max 5 Runtime?
>
> I’ve been trying, but get the same problem and can’t find a new from
> clipboard option.
>
>
> –
> vic

#141269
Oct 2, 2008 at 2:09am

Actually, adsr~ is useful for managing the mute message to thispoly~. Besides that, I’d go with the standard function and line~ object for your envelopes.

#141270
Oct 2, 2008 at 7:51am

pechnatunk schrieb:
> Max5 yet. Does this work with Max 5 Runtime?

Not yet, though I believe if the runtime could open the compressed
format, it would boost the sales of upgrades a lot, if you can see the
beauty of all these patches, and some of them for sure only work in Max
5… ;-)

It is, I guess, a noted feature request for the runtime (You are not the
first who’s Demo period for Max 5 is over… ;-)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#141271

You must be logged in to reply to this topic.