All of lore.kernel.org
 help / color / mirror / Atom feed
* Line6 USB driver in ALSA?
@ 2006-02-26 11:07 Markus Grabner
  2006-02-28  2:18 ` Lee Revell
  2006-02-28  7:35 ` Clemens Ladisch
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Grabner @ 2006-02-26 11:07 UTC (permalink / raw)
  To: alsa-devel; +Cc: clemens, rlrevell


	Hi everybody!

    I just had a brief conversation with Lee Revell about the question if a 
USB driver for Line6 guitar equipment I am working on since 2004 (see 
http://www.tanzband-scream.at/line6) could be included in ALSA. In 
particular, the following devices are supported:
*) POD series (http://www.line6.com/products/pods): these devices digitally 
simulate the sound of different guitar amplifiers. The user can control these 
devices by several dials without connecting them to the PC, or by appropriate 
software running on a PC to which the device is connected via USB. Moreover, 
the guitar signal can be captured, and simultaneously a PCM signal from the 
PC can be played back (full-duplex).
*) Variax guitars (http://www.line6.com/variax) connected to the PC via an USB 
interface (http://www.line6.com/variaxWorkbench): these guitars digitally 
simulate the sound of different guitars. The model parameters (e.g., pickup 
type and position) can be modified via USB (the current version of the Linux 
driver can only read these parameters, however).

The driver I wrote registers the POD devices as a soundcard, therefore the PCM 
portion would perfectly fit into ALSA. Moreover, POD parameters are 
controlled via ALSA's MIDI interface, commands are translated to USB (the 
devices also have a MIDI port, which can be accessed with the standard raw 
MIDI driver, but PCM is not available via MIDI).
However, I'm not so sure if other features of the driver are within the scope 
of ALSA. These include
*) a set of files registered under /sys/bus/usb/drivers/... to allow access to 
the current states of the POD/Variax model parameters (as ASCII numbers)
*) a method to access all parameters of a single or multiple models as a 
binary block of data
*) a guitar tuner
*) and some more features not immediately related to audio

The current driver source code is available under 
"http://www.tanzband-scream.at/line6/download/line6usb-0.6.1.tar.bz2". The 
main files are:
*) pcm.*: the PCM interface
*) midi.*: the MIDI interface
*) pod.*: POD-specific code
*) variax.*: Variax-specific code
*) driver.*: generic code for all supported Line6 devices

What is your opinion on how such a driver could fit into the ALSA concept?

	Kind regards,
		Markus


-- 
Markus Grabner - Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16/II, 8010 Graz, Austria
Phone: +43/316/873-5041, Fax: +43/316/873-5050
WWW: http://www.icg.tu-graz.ac.at/Members/grabner


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-28  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-26 11:07 Line6 USB driver in ALSA? Markus Grabner
2006-02-28  2:18 ` Lee Revell
2006-02-28  7:35 ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.