Old 02-21-2018, 03:06 PM   #1
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,672
Default Cockos JS resonant low pass

what does it mean when it says "low quality" in the js description? it doesn't really sound "low quality"

second, currently when learned, the cutoff increments in 100hz. how can i lower that value to something to prevent zippers?

third, when using this as a sweeping effect, would i be better off using something else?

thanks.

Code:
// This effect Copyright (C) 2004 and later Cockos Incorporated
// License: GPL - http://www.gnu.org/licenses/gpl.html

desc: Resonant Lowpass Filter
//tags: filter
//author: Cockos

slider1:1000<20,20000>Frequency (Hz)
slider2:0.8<0,1>Resonance

@slider
  cut_lp = slider1*2 / (srate); 
  //res_lp!=slider2 ? n3=n4=rn3=rn4=0;
  res_lp=slider2;
  fb_lp=res_lp+res_lp/(1-cut_lp);

@sample

n3=n3+cut_lp*(spl0-n3+fb_lp*(n3-n4));
n4=n4+cut_lp*(n3-n4);
spl0=n4;

rn3=rn3+cut_lp*(spl1-rn3+fb_lp*(rn3-rn4));
rn4=rn4+cut_lp*(rn3-rn4);
spl1=rn4;
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is online now   Reply With Quote
Old 02-21-2018, 03:07 PM   #2
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,672
Default

found this thread which might help others if they search for this issue. it recommends the mooog 24 pole js filter which is awesome.

https://forum.cockos.com/showthread.php?t=139777
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.

Last edited by mccrabney; 02-21-2018 at 03:48 PM.
mccrabney is online now   Reply With Quote
Old 02-21-2018, 03:28 PM   #3
Time Waster
Human being with feelings
 
Time Waster's Avatar
 
Join Date: Aug 2013
Location: Bowral, Australia
Posts: 1,643
Default

The filter module in ReaRack uses this filter. I added code for modulation and the ability to use it as a high pass filter. You can use it as a stand alone FX in the same way as the original Cockos version, or modulate it using other ReaRack modules (e.g. LFO). Get it from the stash. See my signature.
__________________
Mal, aka The Wasters of Time
Mal's JSFX: ReaRack2 Modular Synth
Time Waster is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.