| Greetings:
I tested the attached CSD file with the latest Csound5. It works, but
latency is simply terrible. I used various settings for -b and -B, but
latency was still wretched. This is happening on a system patched for
low-latency. Has anyone else tested MIDI I/O under Linux and Csound5 ?
Best,
dp
-o devaudio -M/dev/midi -dm6
instr 1
inum notnum
iamp ampmidi inum*50
kfreq cpsmidib
a1 oscil iamp,kfreq,1
a2 oscil iamp,kfreq*1.003,2
a3 oscil iamp,kfreq*.997,3
asig = a1+a2+3
kenv linenr 1,.07,.11,.01
out asig*kenv
endin
; ==============================================
f1 0 8192 10 .1 0 .2 0 0 .4 0 0 0 0 .8
f2 0 8192 10 1 0 .9 0 0 .7 0 0 0 .4
f3 0 8192 10 .5 0 .6 0 0 .3 0 0 0 .9
;f0 10000
i1 0 10000
e
|