| bruce quaglia wrote:
> I'm wondering if someone could point me to any
> example instruments that use either lpread/reson
> or lpread/freson? Also, if there is any additional
> documentation on these beyond the csound.hlp file
> I'd like to know where to find that too.
I tried to use the implemented lpread-lpreson pair but the audio quality
is very bad also when using a high sampling rate. Actually it is not
usable for music. At the end of 80s I used an MS-DOS real mode version
of csound adapted by MTU which was able to give a very good synthesis at
low sr too. I'm asking why.
Here is a simple orc/sco example:
;****** lp.orc
sr = 20000
kr = 2000
ksmps = 10
instr 1
ktime line 0, p3, p3
krmsr,krmso,kerr,kcps lpread ktime, p4
avoice buzz krmso, kcps, int(sr/880), 1
aunvoc rand krmso
asig = (kerr < .3 ? avoice : aunvoc)
aout lpreson asig
out aout*.35
endin
;-------------------------------
;*********** lp.sco
f1 0 8193 10 1
i1 0 1 1
i1 + . 2
i1 + . 3
e
;-------------------------
p4 chooses the analisis file number. The analisis files must be named
lp.
for example
lp.1
lp.2
lp.3
etc.
--
Gabriel Maldonado
mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm
http://www.geocities.com/SiliconValley/Way/7041/home2.htm
|