Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4512] MIDI In and Csound5

Date2004-04-24 16:31
FromDave Phillips
Subject[CSOUND-DEV:4512] MIDI In and Csound5
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



Date2004-04-24 20:35
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4516] Re: MIDI In and Csound5
As far as I am aware no one has yet tackled MIDI in Csound5.  I was
hoping to use PortMIDI, but not yet top-of-stack
==John ffitch