Re: MIDI on SB Live! ?

From: Mathew Kanner <mat_at_cnd.mcgill.ca>
Date: Sun, 18 May 2003 22:59:47 -0400
On May 18, jimd_at_siu.edu wrote:
> I downloaded the emu10kx module, compiled, and ran it, but didn't see
> anything that indicated MIDI input. It might very well be, however, my
> "system": I have a SoundBlaster Live! PCI card AND something-or-other
> onboard AC97, but FBSD-4.8 and FBSD-5.1-BETA can't "see" the motherboard
> AC97 device.
> 
> While I have the "official" Creative Labs MIDI to DB15 cable, there is
> also a possibility that IT is not working properly. I DID verify that the
> MIDI output port was "live": I removed the MIDI cable from it to one MIDI
> keyboard that was in MIDI playback mode, and working, and inserted the
> Creative Labs MIDI cable, but nothing else appeared on the console.
> 
> Below is what appeared on the console, but I am sure that you have already
> seen this:
> 
>  emu10kx0: <Creative EMU10K1> port 0xcc00-0xcc1f irq 5 at de
>  vice 7.0 on pci0
>  emu10kx0: Card Configuration (   0x00000e15 )
>  emu10kx0: Card Configuration ( & 0xff000000 ) :
>  emu10kx0: Card Configuration ( & 0x00ff0000 ) :
>  emu10kx0: Card Configuration ( & 0x0000ff00 ) : [GPOUT1] [GPOUT2] [Joystick]
>  emu10kx0: Card Configuration ( & 0x000000ff ) : [AUTOMUTE] [LOCKTANKCACHE] [AUDI
>  OENABLE]
>  emu10kx0: sc = 0xc6a8e800
>  EMU_ENATIMER: sc=0xc6a8e800, go=0)
>  midi0: <EMU10Kx Midi Interface> on emu10kx0
>  midi0: MIDI Attach called for port 1...

	Note this using the newmidi that's currently available in
fbsd.  It can read/write on the raw port (/dev/midi%d) and writes to
the sequencer (/dev/sequencer).
	A simple test would be
	dd if=/dev/midi0 of=/dev/null bs=1
	Which should produce a stream of bytes corresponding to active
sensing requesting (provided they aren't filtered) and note on /note 
off events.
	Also, you should see irq's for reading.  (provided your
equipment is connecting, you will get an irq 3-5 a second while the
keyboard is connected, 0 while disconnected)
	Playmidi should compile in the ports by changing the
#include <dev/machine/soundcard.h> to
#include <dev/sys/soundcard.h>
	Then play a .mid file.  

	emu10k1 provides an mpu401 which should be relatively easy to
support as far as midi hardware goes (since the code already exists).


	--Mat

-- 
Brain: Pinky, are you pondering what I'm pondering?
Pinky: Well, I think so Brain, but if we didn't have ears, we'd look
like weasels.
Received on Sun May 18 2003 - 17:56:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:08 UTC