All times are UTC

 
 



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Max noob question
PostPosted: Sun Apr 21, 2013 4:36 pm 

Joined: Wed Jun 13, 2012 11:53 pm
Posts: 140
So, im doing ok with midi but I started some MSP basics last night. My problem is, on simple patches, im getting clicks when altering sliders.

eg. On a really basic volume patch (using multipliers controlled by flonium box and a slider) it works but there is crackling when i mover the fader up and down. Same thing happens with the dub delay patch

Does it take more advanced programming to smooth this out?


Top
 Profile  
 
 Post subject: Re: Max noob question
PostPosted: Sun Apr 21, 2013 5:23 pm 

Joined: Sat Aug 28, 2004 6:21 pm
Posts: 4829
Take a look at the [line~] object.

_________________
Unsound Designer

Image


Top
 Profile  
 
 Post subject: Re: Max noob question
PostPosted: Sun Apr 21, 2013 6:21 pm 

Joined: Wed Jun 13, 2012 11:53 pm
Posts: 140
stringtapper wrote:
Take a look at the [line~] object.


That seems to be a ramp generator if im reading the documentation correctly. How will that stop the clicks when changing the volume with a slider?


Top
 Profile  
 
 Post subject: Re: Max noob question
PostPosted: Sun Apr 21, 2013 7:57 pm 

Joined: Sat Aug 28, 2004 6:21 pm
Posts: 4829
Ryder17 wrote:
stringtapper wrote:
Take a look at the [line~] object.


That seems to be a ramp generator if im reading the documentation correctly. How will that stop the clicks when changing the volume with a slider?


Did you look at the [line~] help file?

Often when working with digital audio what's happening when you hear a click is the amplitude is jumping from one value immediately to another. A ramp generator like [line~] smooths the transition from one value to another. So when using [line~] instead of having an instantaneous transition between values you can set the transition time in milliseconds. Even just a few milliseconds (5–20) size ramp can eliminate clicks. This is the standard method for eliminating clicks when adjusting amplitude.

If you right-click in an unlocked patcher and go to "Paste From" there is a clipping called "amplitude_control" that demonstrates one way to do what I'm talking about.

_________________
Unsound Designer

Image


Top
 Profile  
 
 Post subject: Re: Max noob question
PostPosted: Sun Apr 21, 2013 8:10 pm 

Joined: Wed Jun 13, 2012 11:53 pm
Posts: 140
Aaaahhhh I didn't look at it like that :) thanks for your help


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC

 
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group