|
|
|
08-30-2007, 04:44 PM
|
#1
|
Human being with feelings
Join Date: Sep 2006
Location: Port Huron, Michigan, USA
Posts: 489
|
Compstortion - My turn for a JS plug-in
Attached you will find my very first attempt not just at a JS plug, but at DSP programming in general. Compstortion is a distortion utilizing two simple asymptotic algorithms, which basically means you can drive it hard and it'll never clip the output, unless you do something like manually set the attenuator to less than one. These algorithms are courtesy of the folks at SuperCollider, a GPL program, and Kijjaz from the ChucK forums.
Note: In mono mode, Compstortion takes the left channel and discards the right. As long as you don't feed stereo info and leave the plug in mono mode, it'll be fine.
Also included in the ZIP file is a bit of documentation that explains the operation of the plug in more detail.
Have fun, and let me know what you think! It's my hope that this will be useful to someone somewhere.
LATEST: Compstortion Version 0.5 Beta
Last edited by Consul; 09-01-2007 at 04:35 PM.
|
|
|
08-30-2007, 06:48 PM
|
#2
|
Human being with feelings
Join Date: Sep 2006
Location: Port Huron, Michigan, USA
Posts: 489
|
Just thought I'd bump this: Version 0.2 Beta, which replaces the handling of stereo into mono with something simpler and using less cycles, is now attached to the above post. Thank you!
|
|
|
08-30-2007, 07:05 PM
|
#3
|
Human being with feelings
Join Date: Aug 2006
Location: Canada
Posts: 2,309
|
Thanx Consul!
Thanx for sharing! Any screenshot? Thanx
|
|
|
08-30-2007, 07:10 PM
|
#4
|
Human being with feelings
Join Date: Sep 2006
Location: Port Huron, Michigan, USA
Posts: 489
|
It looks like any other Jesusonic plug-in, really, but here you go:
(Edit: Removed due to being out of date.)
Last edited by Consul; 08-30-2007 at 10:56 PM.
|
|
|
08-30-2007, 07:31 PM
|
#5
|
Mortal
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 14,047
|
working good right around the nose of the curve, but much below and nothing and much above and nasty...that the tricky part of these things
|
|
|
08-30-2007, 07:33 PM
|
#6
|
Human being with feelings
Join Date: Sep 2006
Location: Port Huron, Michigan, USA
Posts: 489
|
Yeah, that's the inelegant part. I need to decide about where the curve works best and maybe limit the drive to that range. I just wanted to give people the option of being able to crank it if they'd like. I'm also thinking about an output attenuator, so users can match the volume of the incoming signal to do A/B as easy as clicking the plug-in bypass.
Last edited by Consul; 08-30-2007 at 07:35 PM.
|
|
|
08-30-2007, 08:48 PM
|
#7
|
Human being with feelings
Join Date: Feb 2007
Location: Sydney Oz
Posts: 8,480
|
Quote:
Originally Posted by Consul
I'm also thinking about an output attenuator, so users can match the volume of the incoming signal to do A/B as easy as clicking the plug-in bypass.
|
Cool! I was just about to request it, thanks in advance... I like it.
|
|
|
08-30-2007, 09:28 PM
|
#8
|
Human being with feelings
Join Date: Feb 2007
Location: Sydney Oz
Posts: 8,480
|
I just noticed, fully cranked it's chewing 23% of my net machine's cpu! You might want to talk to Loser or Scott about lowering that. Other JS one's are fairly low.
|
|
|
08-30-2007, 10:00 PM
|
#9
|
Human being with feelings
Join Date: Sep 2006
Location: Port Huron, Michigan, USA
Posts: 489
|
Yeah, I see that now. The "Warm" setting (the SuperCollider one) maxes out at about 1.8% on my machine, but the others really chew up CPU. I'll bet it has to do with the cubing and squaring in the denominators. To tell you the truth, the SC algo is the one I like the best. I think maybe I'll call this "Compstortion" (or "Extorsion" ) instead and stick to the one algo.
I'm still trying to figure out the drive and attenuation routines.
Last edited by Consul; 08-30-2007 at 10:05 PM.
|
|
|
08-30-2007, 10:50 PM
|
#10
|
Human being with feelings
Join Date: Sep 2006
Location: Port Huron, Michigan, USA
Posts: 489
|
UPDATED: Now called Compstortion, version 0.3, now with only one algorithm, some form of logarithmic-based drive and attenuation control, and output attenuation! See the first post for download.
|
|
|
09-01-2007, 01:15 PM
|
#11
|
Human being with feelings
Join Date: Sep 2006
Location: Port Huron, Michigan, USA
Posts: 489
|
Sorry for the constant bumping, but 0.4 Beta is now available, attached to the first post of this thread. I was able to fix the CPU use issues with the other two algos, so they are now back in the package! A little clean-up, and here we go!
|
|
|
09-01-2007, 04:37 PM
|
#12
|
Human being with feelings
Join Date: Sep 2006
Location: Port Huron, Michigan, USA
Posts: 489
|
Here we go again. Version 0.5 at the top of the thread.
Changes:
* Got rid of the "Harsh" setting, since it just wasn't working for me.
* Increased the Drive and Attenuation ranges for a greater range of effect. The amount of effect you get is greatly dependent on the amplitude of the input signal to begin with, so be careful on louder program material.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 01:31 AM.
|