Are modulated parameters smoothed?

Learn about building and using Max for Live devices.
gavspav_2
Posts: 39
Joined: Fri Sep 11, 2009 6:58 am

Are modulated parameters smoothed?

Post by gavspav_2 » Mon Oct 05, 2009 1:11 pm

I have 2 clips in a track both containing clip envelopes linked to a common parameter in M4L.

If I play one clip and then switch to the other the modulated parameter value moves slowly towards its new level (ie the value set by the clip envelope in the new clip)

I just want the parameter to reflect the value declared in my clip envelope.

There must be a way of turning this smoothing off?

Anyone know what I'm on about?

gavspav_2
Posts: 39
Joined: Fri Sep 11, 2009 6:58 am

Re: Are modulated parameters smoothed?

Post by gavspav_2 » Mon Oct 05, 2009 1:37 pm

Quite confused by this now as it seems to be behaving inconsistently.

Here's an example patch will will hopefully work - ha ha.

http://www.digitalfunfair.co.uk/smoothing.zip

If you play the first clip and let the modulated value get to at least 0.1

Then fire the second clip and the value will go backwards till it gets down to the correct value.

Let this new (second) clip get to at least 0.1 again.

Trigger the first clip - the modulated value goes straight down to zero.

Am I missing something or is this the work of the devil?

gavspav_2
Posts: 39
Joined: Fri Sep 11, 2009 6:58 am

Re: Are modulated parameters smoothed?

Post by gavspav_2 » Tue Oct 06, 2009 6:16 am

Hmm pretty sure this is a bug now.

Can anyone confirm before I report it?

Or even confirm if my post is intelligible!?

ztutz
Posts: 100
Joined: Sat Jul 30, 2005 5:59 pm
Contact:

Re: Are modulated parameters smoothed?

Post by ztutz » Tue Oct 06, 2009 2:53 pm

Is the set file missing from your zip? I get a project file with no set when I open it.

gavspav_2
Posts: 39
Joined: Fri Sep 11, 2009 6:58 am

Re: Are modulated parameters smoothed?

Post by gavspav_2 » Tue Oct 06, 2009 3:58 pm

Oh God :oops: Sorry about that and thanks for looking.

I've fixed the link now.

http://www.digitalfunfair.co.uk/smoothing.zip


Trigger the first clip and the param value starts from zero straight away.
Trigger the second and it slides down towards zero.

pukunui
Posts: 405
Joined: Thu Jan 29, 2009 10:26 pm
Location: Los Angeles

Re: Are modulated parameters smoothed?

Post by pukunui » Tue Oct 06, 2009 11:44 pm

I can reproduce this.

I'll look into it and get back to you

-A

pukunui
Posts: 405
Joined: Thu Jan 29, 2009 10:26 pm
Location: Los Angeles

Re: Are modulated parameters smoothed?

Post by pukunui » Wed Oct 07, 2009 1:55 pm

Ok this looks like a bug. Thanks very much for the report, we'll get to it.

-A

gavspav_2
Posts: 39
Joined: Fri Sep 11, 2009 6:58 am

Re: Are modulated parameters smoothed?

Post by gavspav_2 » Wed Oct 07, 2009 3:16 pm

Can you tell me which the bug is exactly?

Is it that the modulated parameter value starts from the new value immediately ie without smoothing), or that if the control value changes significantly the parameter is smoothed?

I realise that a physical controller such as a slider or dial cannot move from say 0 to 127 without passing all the values in between.

However I do want this behaviour :wink:

pukunui
Posts: 405
Joined: Thu Jan 29, 2009 10:26 pm
Location: Los Angeles

Re: Are modulated parameters smoothed?

Post by pukunui » Wed Oct 07, 2009 4:20 pm

Maybe both. We are trying to do some kind of smoothing, but in the 2nd case it seems to be too slow.

-A

gavspav_2
Posts: 39
Joined: Fri Sep 11, 2009 6:58 am

Re: Are modulated parameters smoothed?

Post by gavspav_2 » Wed Oct 07, 2009 4:32 pm

OK well feature request for smoothing being optional then!

Here's a couple of examples where smoothing might not be desirable:

i)If you're feeding M4L clip position data via a modulated parameter (if we havent got access to clip position through the API this might still turn out to be the best way)

ii)If you have two separate clips with different modulated effects and you want a fast cut from one to the other.I don't want some smoothing I can't turn off. If I want smoothing I'll draw a clip envelope - or program it in a patch!

ztutz
Posts: 100
Joined: Sat Jul 30, 2005 5:59 pm
Contact:

Re: Are modulated parameters smoothed?

Post by ztutz » Wed Oct 07, 2009 5:03 pm

+1 on no voodoo smoothing

If I want to lowpass my control signal, I'm happy to do it myself!

Optional 'sok, I guess...

gavspav_2
Posts: 39
Joined: Fri Sep 11, 2009 6:58 am

Re: Are modulated parameters smoothed?

Post by gavspav_2 » Wed Oct 07, 2009 5:16 pm

Also wouldn't it make weird things happen when you're looping?

gavspav_2
Posts: 39
Joined: Fri Sep 11, 2009 6:58 am

Re: Are modulated parameters smoothed?

Post by gavspav_2 » Thu Oct 22, 2009 4:54 pm

Two updates now and the smoothing issues haven't been resolved!
As its just taken me the best part of a day for me to carry out a minor update to my website I'm not complaining.
Just wondering what the score is with it though.
Or if there is a workaround!

Gavin

pukunui
Posts: 405
Joined: Thu Jan 29, 2009 10:26 pm
Location: Los Angeles

Re: Are modulated parameters smoothed?

Post by pukunui » Thu Oct 22, 2009 6:00 pm

It will be addressed by us soon.

-A

zlatko
Posts: 116
Joined: Mon Apr 27, 2009 3:34 pm

Re: Are modulated parameters smoothed?

Post by zlatko » Sat Oct 24, 2009 10:42 am

+1 for optional smoothing,
you can please regard the m4l community knowing how to lag their control signals.

cheers

z
Who else has been sick of 4/4 for the last 10 years ??

www.zlatko.hu

Post Reply