So we come straight to the next drawback.
The dk resolver sucks on to much variable resistors.
This could be solved by splitting the circuit into partial emulations.
The Colorsoundoverdriver.sch could be split into 2 parts, right after C9.
In part 2 you need also to remove P4 and put the output direct into C6.
Both parts will build then. A remark to the treble control, it needs to be inverted, this could be done by adding "inv=1" to the value list. The same is true for the "gain" (which will better called drive here).
Now you could build both parts, you didn't need to write a script for any sch file , just use the build-plug.py script like this:
python ./build-plug.py -i ColorsoundOverdriverp1.sch -m cod1 -n 'COD1' -c 'Fuzz'
python ./build-plug.py -i ColorsoundOverdriverp2.sch -m cod2 -n 'COD2' -c 'Fuzz'
the dsp files will be created in /tmp, and guitarix plugs will be installed. You could try your plugs straight in guitarix.
Now, to stick the parts together, you could open the dsp files in /tmp with your editor, and copy the process part from p1 to p2, rename the process to p1 / p2 and add a new line on bottom
process = p1 : p2 ;
This will represent the Filter Response of the hole circuit, but still missing is the non-linear part.
For the colorsound overdrive, a clipping function is missing, one nice one is this
clip(x) = atan(x)/PI;
add it to the dsp file and change the process line to
process = p1 : clip : p2 ;
This will insert the clipping directly behind the input stage, before the tone control and the output buffer.
Now, still missing is the output volume control, this could be added by add a declaration line on top, after the other declarations.
declare volume_p "Volume";
Save the dsp file as colorsoundoverdriver.dsp to the buildlv2 directory and run
(from the buildlv2 directory)
./make_lv2_bundle.sh -p ./ colorsoundoverdriver.dsp -n ColorsoundOverdrive
(remark the space between ./ and colorsoundoverdriver.dsp!!)
This will create the lv2 bundle. You could build and install it (as user) by
Now to make a MOD plugin out of it, you need to follow the advices for the modstk.