From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 19 17:38:24 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A25C106564A for ; Sat, 19 Feb 2011 17:38:24 +0000 (UTC) (envelope-from Gabor@Zahemszky.HU) Received: from relay03.digicable.hu (relay03.digicable.hu [92.249.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id DE4618FC0A for ; Sat, 19 Feb 2011 17:38:23 +0000 (UTC) Received: from [94.21.15.20] (helo=Picasso.Zahemszky.HU) by relay03.digicable.hu with esmtpa id 1PqqVw-0006zG-P1 for ; Sat, 19 Feb 2011 18:22:36 +0100 Date: Sat, 19 Feb 2011 18:22:33 +0100 From: Zahemszky =?ISO-8859-2?Q?G=E1bor?= To: freebsd-multimedia@freebsd.org 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> Organization: Zahemszky Bt. X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Original: 94.21.15.20 Subject: Re: Midi and FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2011 17:38:24 -0000 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"