Csound Csound-dev Csound-tekno Search About

real time midi optimization

Date2007-09-01 19:53
FromMichael Mossey
Subjectreal time midi optimization
Hello, I'm trying to use real-time midi. I have it working, but I have 
to set the buffer sizes to -b512 -B2048 which is a bit more latency than 
I would like. My orc is

---------------------------
sr=44100
kr=4410
ksmps=10
nchnls=2

;i1  time  dur  amp
instr 1
idur = p3
icps cpsmidi
print icps
aout   oscili 1, icps, 1
   outs aout * 1000, aout * 1000

endin
--------------------------------

and my sco is

f1 0 4096 10 1
i1 0 120 1 1

---------------

My system is a Core 2 Duo 1.8 GHz, sound card is M-audio Audiophile 
24/96. 1GB ram. Running Windows XP. Using Csound version 5.

How can I improve latency?

-Mike

Date2007-09-01 20:12
From"Steven Yi"
SubjectRe: real time midi optimization
AttachmentsNone