[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] very heavy click problem with this synth/routine
- To: sc-users <sc-users@xxxxxxxxxxxxxxxx>
- Subject: [sc-users] very heavy click problem with this synth/routine
- From: sc <mailofdjeho@xxxxxxxxx>
- Date: Sat, 28 Dec 2013 17:51:41 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=1NIc5ah0KcDmhp7n2td3bvftQpaz6YwV8sasS/oX78g=; b=owbOUmbWOMgF5cegTnvUauPrUgeP4fwwPPSXmx4cMNPW7DwdVL4fei2gQ9Gc/8hqig X51Z0xIPAmNotbChev/4TNT2sOZ3vIOgf/Lj1rieaKgpKJGvJLa3hOjGkx8fRrlpGTKG XRqLDIWfMkZaJ/ZV2vUnH/QLpeEWsLvf7s0WSA0Qt/DOU/+Y1pguRcfhZnLFK8fnpM99 ULNBq+NoZD6UNILVwLRf04mOLCPvuSVhN/o/TbJ0HIJrwgW9YiLUDqScRalqLPbPBpwh /KX9jVVr7z/rtColZ64stIrzPPxBfH5qx9787yr8fmifrH/Qquayxmfmn9MMcLBMXMKs YAYg==
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
Hello, list
I found this synth from old time, (it's not mine, it's from this list,
kindly offered by Batuhan Bozkurt) and having fun to play with it.
SynthDef(\junglism_mono, {|out = 0, pan = 0, bufnum, div = 16, slice =
0, gateRatio = 1, stutter = 1, amp = 1, rate = 1|
var needle, snd, addFrame, sliceDur, bufDur;
bufDur = BufFrames.ir(bufnum);
sliceDur = bufDur / div;
addFrame = (slice * sliceDur);
needle = Phasor.ar(0, BufRateScale.kr(bufnum) * rate, 0, bufDur);
snd = BufRd.ar(1, bufnum, (needle % (sliceDur / stutter)) + addFrame);
FreeSelf.kr(needle > (sliceDur / gateRatio));
OffsetOut.ar(out, Pan2.ar(snd, pan) * amp);
}).add;
I wrote a nice GUI for it, running this routine with bunch of Pseqs.
~len =16;
~min = 0;
~max = 8;
~slice = Pseq(Array.fill(~len,{|i| rrand(~min, ~max)}), inf).asStream;
...etc.
Routine({loop({
Synth(\junglism_mono, [\bufnum, ~buf.next, \div, ~div.next,
\slice, ~slice.next, \gateRatio, ~gateRatio.next, \stutter,
~stutter.next, \amp, ~amp.next, \rate, ~rate.next, \out,~ch[1]],
~synthGroup);
~dur.wait;
})}).play;
the only problem is that it's horribly clicky. especially when loading
not percussive samples. but also with perc samples which has kinda long
decay.
I tried to track down the source of the problem, but since it's not my
synth and also that I'm quite bad at DSP stuff, I just can't figure
out...randomly placing Lag or LPF here and there just mess things up,
and create even more problems. I don't even know yet if it's my routine
or the synth itself which produces click problems. I tried to set a
master node with some filters, but I don't have knowledge on setting up
filter parameters in a way to remove clicks without changing global ton
of sound. the clicks are not this short, super high freq pop style, but
more longer, and more...mmm...'rich' in spectrum...('sorry for my
ignorance on DSP terms!!!)
I'm horribly lost...do anyone has any idea on how to remove the clicks here?
thanks...
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/