| OK I can confirm that I am also getting random clicks in the aiff file
that is rendered by this csd (using grain).
Is this a bug or am I missing something!!?
Thanks
Peiman
; Select audio/midi flags here according to platform
; Audio out Audio in No messages
;-odac -odac -d ;;;RT audio I/O
; For Non-realtime ouput leave only the line below:
-o grain.aiff -d ;;; for file output any platform
; Initialize the global variables.
sr = 44100
kr = 44100
ksmps = 1
nchnls = 1
instr 1
insnd = 10
ibasfrq = 44100 / ftlen(insnd) ; Use original sample rate of
insnd file
kamp = 1000
kpitch = .3
kdens = 5
kaoff = 1000
kpoff = 4
kgdur = .5
imaxgdur = .5
ar grain kamp, kpitch, kdens, kaoff, kpoff, kgdur, insnd, 5,
imaxgdur, 0.0
out ar
endin
f5 0 512 20 2 ; Hanning window
f10 0 262144 1 "mary.wav" 0 0 0
i1 0 6
e
On 10 Feb 2008, at 13:25, Peiman Khosravi wrote:
> Dear All,
>
> I have been trying to render the grain.csd file from the manual (csd
> example for grain opcode) in real-time. But I get a very distorted
> glitchy output (on os x intel). It sounded like buffer problems so I
> tried different buffer settings with the -b and -B flags, there was
> definitely a difference but not an improvement. I don't get this
> problem when rendering to file, and the granule opcode example
> (which I assume is far more cpu heavy) runs fine in realtime.
>
> Any Suggestions please...!!
>
> Many Thanks
> Peiman
>
|