Csound Csound-dev Csound-tekno Search About

"MIDI receive: Can't get termios info"

Date1998-11-02 17:57
FromPaul Winkler
Subject"MIDI receive: Can't get termios info"
I'm trying to get realtime MIDI input working for the first time. No go.
I thought I was just doing something dumb, but I found an old list
message from Antoine Lefebvre, which gave as a basic midi example almost
an exact duplicate of the orc/sco I'm trying. So what's wrong here?

Here's the command line I'm using:

csound -odevaudio -W -dm6 -M/dev/midi basic-midi-in.orc
basic-midi-in.sco

And here's what I get when I run it:

Csound Version 3.482 (Jun 28 1998)
orchname:  basic-midi-in.orc
scorename: basic-midi-in.sco
sorting score ...
        ... done
orch compiler:
35 lines read
        instr   1
MIT Csound: 3.482 (Jun 28 1998)
midi channel 1 using instr 20
MIDI receive: Can't get termios info.


Here's the orc:

  sr    =       44100
  kr    =       2205
  ksmps =       20
  nchnls        =       1

instr 1
ifreq cpsmidi                  ;  get current note & convert to cps.
aout oscil 20000, ifreq, 1        ;  use f1 for table
out aout
endin


And here's the score:

f1 0 1024 10 1 .4 .3 .2 .1 .05 .07 .004

f0 20
e 

Any ideas, anyone?

Thanks,

PW