| Hi
I'm trying to build an autotune instrument using harmon2. However, I get
a nasty distortion whenever I apply harmon2, even with freq = 1 (so no
transposition). So I'm hoping I'm just
doing something wrong. Any input appreciated, esp from anyone with
succesful experiences with harmon2...
Here's a short sniplet of audio to let you hear what I mean (first one
is original audio, the second is through harmon2):
http://atte.dk/download/clean.mp3
http://atte.dk/download/harmon2.mp3
I developing it all in blue as a Effect, so if anyone's running blue,
heres a .blue with the code + the vocal sample:
http://atte.dk/download/harmon2.zip
here's the code I use:
; setup for delay
idelay = .045
; setup for the spectrum opcode
iprd = .01; .02
iocts = 7
ifrqa = 24;24
iq = 12;12
ihann = 1
idbout = 3
; setup for the specptrk opcode
kvar = 1
ilo = 6.5
ihi = 9.5
istr = 7.5
idbthresh = 10
idbthresh = 0
inptls = 7
irolloff = .7
iodd = 0
iconfs = 3
interpol = 1
; setup for the harmon2 opcode
kfrq1 = 1
kfrq2 = 0
icpsmode = 0
ilowest = 4.9
ipolarity = 0;1
afilt1 tone ain1, 10000
afilt2 tone ain2, 10000
w1 spectrum afilt1, iprd, iocts, ifrqa, iq, ihann, idbout
w2 spectrum afilt2, iprd, iocts, ifrqa, iq, ihann, idbout
koct1,kamp1 specptrk w1, kvar, ilo, ihi, istr, idbthresh, inptls,
irolloff, iodd, iconfs, interpol
koct2,kamp2 specptrk w2, kvar, ilo, ihi, istr, idbthresh, inptls,
irolloff, iodd, iconfs, interpol
ain1 delay ain1, idelay
ain2 delay ain2, idelay
aout1 harmon2 ain1, koct1, kfrq1, kfrq2, icpsmode, ilowest;, ipolarity
aout2 harmon2 ain2, koct2, kfrq1, kfrq2, icpsmode, ilowest;, ipolarity
--
peace, love & harmony
Atte
http://atte.dk | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk
|