OK - but you will need a controller to trigger a message.
I assume the following will repro this (I can't test it right now):
sr=44100
ksmps=128
nchnls=1
instr 1
kstatus, kchan, kdata1, kdata2 midiin
if kstatus = 0 kgoto end
printks "kstatus: %d",.01, kstatus
end:
endin
i1 0 3600
e
On 2/14/06, Istvan Varga wrote:
> On Tuesday 14 February 2006 19:57, Ben McAllister wrote:
>
> > The problem is, the last message sent remains in the MIDI IN buffer,
> > even after it's read. I never get '0' back for status.
>
> That would be a bug in the midiin opcode. Is this sure ? Could you post
> a simplified CSD file that reproduces this behavior ?
> --
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>