| I could say the same to the filter which frequencies (distributed over time)
must subtract ...
as in the example:
nchnls = 1
0dbfs = 1
gidur = 2
;================================
instr 1 ; original signal (white-noise+melody)
arand rand .8
ia = .001
kfreq linseg 440, gidur, 440, ia, 330, gidur, 330, ia, 560, gidur, 560, ia,
440, gidur-(ia*3), 440
aoscil oscil .8, kfreq, 1
gaout sum arand, aoscil
out gaout
endin
;================================
instr 2 ; subtract melody
arand rand .8
ia = .001
kfreq linseg 440, gidur, 440, ia, 330, gidur, 330, ia, 560, gidur, 560, ia,
440, gidur-(ia*3), 440
aoscil oscil .8, kfreq, 1
gaout sum arand, aoscil
gaout butterbr gaout, kfreq, 50
out gaout
endin
;================================
f0 99999
f1 0 512 10 1
i1 0 8
i2 9 8
Version: 3
Render: Real
Ask: Yes
Functions: ioObject
Listing: ioObject
WindowBounds: 43 44 718 648
CurrentView: orc
IOViewEdit: Off
Options: -b1024 -A -s -m167
--
View this message in context: http://csound.1045644.n5.nabble.com/subtract-frequencies-tp5727601p5727604.html
Sent from the Csound - General mailing list archive at Nabble.com.
|