To: linux-sound@vger.kernel.org
Subject: Re: MIDI programming
Date: Sun, 16 Jan 2000 16:27:49 +0000 [thread overview]
Message-ID: <marc-linux-sound-94810763320869@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-94791780628504@msgid-missing>
Hi!
On Fri, Jan 14, 2000 at 11:17:47PM -0800, est@hyperreal.org wrote:
> > Can anyone give me a hint at writing a simple
> > program to read MIDI keyboard input? I don't want to parse
> > this input, just to test the presence of the keyboard under
> > Linux.
> >
> > Taras
>
> dd bs=1 if=/dev/midi | od -t x1 --width=1
> ..works for me. I strike a key and get:
>
> 0000000 fe
> *
> 0000020 90
I've tried this before but never got a byte :(
Maybe, my configuration is incorrect:
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux flex.dorms.msu.ru 2.2.14pre18 #2 Wed Jan 5 22:17:13 MSK 2000 i586
Config options: 0
Installed drivers:
Card config:
Audio devices:
0: ESS ES1868 AudioDrive (rev 11) (3.01)
Synth devices:
0: Yamaha OPL3
Midi devices:
0: MPU-401 (UART) MIDI
Timers:
0: System clock
Mixers:
0: Sound Blaster
I've tried both uart401 and mpu401 modules but none
of them responses to key presses. Maybe there's some trick
with interrupt setting?
The soundcard is detected right, audio and midi
playback is ok, but I can't read MIDI.
Can anyone help me in getting my MIDI keyboard
working under Linux? (In Windows it works perfectly.)
Thanks in advance,
Taras
prev parent reply other threads:[~2000-01-16 16:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-14 23:22 MIDI programming
2000-01-15 2:38 ` David Olofson
2000-01-15 7:17 ` est
2000-01-16 16:27 ` [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-sound-94810763320869@msgid-missing \
--to=linux-sound@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox