Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2011 18:22:33 +0100
From:      Zahemszky =?ISO-8859-2?Q?G=E1bor?= <Gabor@Zahemszky.HU>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Midi and FreeBSD
Message-ID:  <20110219182233.3cfdbbbc@Picasso.Zahemszky.HU>
In-Reply-To: <201102191756.28268.hselasky@c2i.net>
References:  <20110219153731.3473.qmail@origmail.integrity.hu> <201102191756.28268.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> > If I buy a "MIDI-USB" communication cable to connect it to my

(*)

> > PC, will it possible to use it? Do I need to buy a special cable
> > (made-by-XYZ), are there any specific drivers, or programs, with
> > what I can play with it. I've seen eg OpenBSD's midish CLI program,
> > but it isn't ported to FreeBSD (yet).
> >=20
> > (I use FreeBSD8 on both i386 and Amd64.)
>=20
> Hi,
>=20
> Yes, there exists plenty of USB MIDI software for FreeBSD, but not
> all is in ports. The USB MIDI solution in FreeBSD is part of
> snd_uaudio. Do you see any devices like /dev/umidiX.Y ?

As I've written in my first mail (*), I haven't got the USB-MIDI cable
yet (as I don't know, do I have to buy some specific, or any of them
will be good.)

So if I understand you correctly, after buying that cable, I
only have to "kldload snd_uaudio", connect the drum-machine to the
PC with that cable, and I'll see (OK, I have to) /dev/umidiX.Y
devices? It'll be great. (I think one of the umidi device - eg.
umidi0.0 - will be the MIDI-OUT/PASSTHROUGH and the other - umidi0.1
will be MIDI-IN?) Or if not, are there any documentation about it as I
hadn't find it in man snd_uaudio. By the way, nowhere in "man -k midi".
Does this snd_uaudio driver will give us the original
Linux-like /dev/sequencer OSS-device? Or how can I use these /dev/umidi
devices?

And where are those "plenty of MIDI software"? (I hope, I can
download and install them by hand, but of course, I'd like better them
from ports.)

Thanks for your quick answer!

G=E1bor < Gabor at Zahemszky dot HU >

--=20
#!/bin/ksh
#
# See my GPG key at http://www.Zahemszky.HU
#
Z=3D'21N16I25C25E30, 40M30E33E25T15U!';
IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';
set -- $Z;for i;{ [[ $i =3D ? ]]&&print $i&&break;
[[ $i =3D ??? ]]&&j=3D$i&&i=3D${i%?};
typeset -i40 i=3D8#$i;print -n ${i#???};
[[ "$j" =3D ??? ]]&&print -n "${j#??} "&&j=3D;typeset +i i;};
IFS=3D' 0123456789 ';set -- $Z;for i;{ [[ $i =3D , ]]&&i=3D2;
[[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";typeset +l i;};print "$j"



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