Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2001 22:17:23 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        "Andresen,Jason R." <jandrese@mitre.org>, Heiko Recktenwald <uzs106@ibm.rhrz.uni-bonn.de>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: SB16, 4.0 and MIDI ?
Message-ID:  <20010414221723.A704@nc.rr.com>
In-Reply-To: <3AD6F8C3.3AA05E39@mitre.org>; from jandrese@mitre.org on Fri, Apr 13, 2001 at 09:01:55AM -0400
References:  <3AD6F8C3.3AA05E39@mitre.org> <Pine.BSF.4.21.0104131533320.575-100000@moritz.alleswirdgelber> <Pine.BSF.4.21.0104122348230.1255-100000@moritz.alleswirdgelber> <3AD6F8C3.3AA05E39@mitre.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andresen,Jason R.:
 |Heiko Recktenwald wrote:
 |> > > Hi, I have a SB16 ISA card, that works with pcm and sbc as far as
 |> > > playing samples is concerned. mpg123 etc are ok.
 |> >
 |> > The old Voxware drivers are unmaintained.  You might have more success
 |> > with newmidi:
 |
 |You must be new to FreeBSD.  "Unmaintained" is our way of saying "they
 |don't work". 

Voxware works fine for me in 4.2-R (with SB16 DSP -- Vibra16 on SB32).
Better than PCM for my card in fact.  Several apps I tried since upgrading
worked on Voxware and not PCM, which was enough for me to switch back.
Also, catting .au files to /dev/audio was a nogo with PCM -- works with
Voxware.  And 44.1KHz 16-bit stereo record recorded garbage with PCM, but
works with Voxware...

Heiko Recktenwald:
 |Anyway, MIDI in FBSD isnt absolutely necessary, but it could be fun.

Try timidity.  Install from ports, then grab eawpats from here:

   http://www.stardate.bc.ca/eawpatches/html/default.htm

unpackage somewhere, copy the timidity.cfg file in eawpats distribution to
/usr/local/share/timidity/timidity.cfg, and tweak it (comment out 
"dir c:\timidity", and change the "dir c:\eawpats" to point to where you
stashed the eawpats files -- e.g. "dir /opt/pkg/eawpats").  Timidity
doesn't each much CPU either -- only 15% here on an K6-III 400.

You can try the timidity GUIs if you want (gtkmidi
i.e. timidity++-gtk-... is pretty cool).  However don't bother unless you
choose to run Voxware.  With PCM, the GTK and Motif flavors (possibly all
of them) go off into space when you try to play a second file.  Works fine
with Voxware...

BTW, here are my 4.2-RELEASE kernel lines:

   ## PCM - SB16 users probably don't want to do this
   ## device       pcm0
   ## device       sbc0    at isa? port 0x220 irq 5 drq 1 flags 0x15

   ## Voxware
   device       snd0   
   device       sb0      at isa? port 0x220 irq 5 drq 1
   device       sbxvi0   at isa? drq 5
   device       sbmidi0  at isa? port 0x330
   device       opl0     at isa? port 0x388

Note if you use PCM and have your 16-bit DMA on a channel other than 5,
be sure to read pcm(4)'s description of "flags".

Randall

-- 
Randall Hopper
aa8vb@nc.rr.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010414221723.A704>