| in my previous message i wrote:
>I'm experimenting with filtering single pulses with a reson filter with a
>very narrow filter band.
>
>with (e.g.) this orchestra:
>
>sr=44100
>kr=44100
>ksmps=1
>nchnls=2
>
>
>instr 1
>a1 linseg 10000, 1/kr, 0, p3-1/kr, 0
>a2 reson a1, 621.08, 0.5
>a3 reson a1, 207.53, 0.5
>outs a2*0.1, a3*0.1
>endin
>
>and this score:
>
>i1 0 5
>
>i used to get nice exponentially decaying sinusoids with the old perf.ppc
>(v 0.3.2b0).
>Now with perf3.47 beta3 i get a very strange-looking distorted sound, that
>seems to change when changing p3.
>I have tried the same orc/sco with bath's PCCsound also. Result: same
>distorted sound. Maybe it's something on the source code?
Now i've found that the problem is that the rescaling of signals in the
outs operator:
outs a2*0.1, a3*0.1
^ ^
does not work, and the signal outputs at full amplitude, even if you
multiply it by 0, while in the previous version of csound the signal was
rescaled as expected.
I don't think it's reson's fault, because if you (in the mills PPC version)
choose the "32-bit float -> 16-bits int" option for the output soundfile
format, you get the undistorted exponetially decaying sinusoids, because of
the larger dynamic allowed by 32 bit, wich prevents clipping.
I havent tested the * operator in other situations, though.
BTW is there a "mod" operator hidden somewhere?
best regs
maurizio
_____________________________________________
o Maurizio Giri o
o ConTempo o
o Italian Contemporary (and Early) Music o
o http://www.axnet.it/contempo o
o-------------------------------------------o
o ConTempo e-mail: contempo@wmail.axnet.it o
o Personal e-mail: m.giri@agora.stm.it o
o o
o Snail: Via Ostilia, 55 - 00184 Roma Italy o
o Tel +39.6.70451885 o
_____________________________________________
http://www.univr.it/germano/eme/compos/girima.htm
|