[linux-audio-user] [martin-langer at gmx.de: [sane-devel] What about creating music with scanning devices?]

Ross Vandegrift ross at willow.seitz.com
Sun Mar 30 16:24:00 EST 2003

As seen on sane-devel (Yes - that's SANE, the scanner people!)


----- Forwarded message from Martin Langer <martin-langer at gmx.de> -----

From: Martin Langer <martin-langer at gmx.de>
To: sane-devel at mostang.com
Subject: [sane-devel] What about creating music with scanning devices?
X-BeenThere: sane-devel at www.mostang.com
X-Mailman-Version: 2.0.11
List-Help: <mailto:sane-devel-request at www.mostang.com?subject=help>
List-Post: <mailto:sane-devel at www.mostang.com>
List-Subscribe: <http://www.mostang.com/mailman/listinfo/sane-devel>,
	<mailto:sane-devel-request at www.mostang.com?subject=subscribe>
List-Id: SANE developer's mailing list. <sane-devel.www.mostang.com>
List-Unsubscribe: <http://www.mostang.com/mailman/listinfo/sane-devel>,
	<mailto:sane-devel-request at www.mostang.com?subject=unsubscribe>
List-Archive: <http://www.mostang.com/pipermail/sane-devel/>
X-Spam-Status: No, hits=-12.7 required=5.0
	autolearn=ham	version=2.50
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)


I've just had an idea about a crazy scanner frontend:

The basic idea is to use a scanner as music instrument and translate a scan
line into music notes (x-scale for differnt notes and intensity for the
volume). Therefore it would be nice to have a constant y value (I don't see an
interesting use for y!). So it would be great to read out that one y-line 
and produce MIDI notes until Ctrl-C is pressed. 

I'm more involved into the ALSA side of this problem and absolutely new to
sane development. So my question:

Is it possible to solve this (read out one line without y movement) in a 
frontend application? Or do I have to patch the backend part? Is there any
developer information available? I've just had a look to some command line
frontends, but they don't touch this point (ok, it's possible that I'm 
blind!). But my impression was: they only handle complete scans, which I don't 
want to use. Or is there a general problem in the control of scanning
devices, if I have this goal ..... because they were not build for this use.

Is there a counterpart to "sane_get_parameters()" for setting those
parameters, like lines and pixels? 

Anybody out there, who can give me some hints or who can say: "Forget It!"


Sane-devel mailing list
Sane-devel at www.mostang.com

----- End forwarded message -----

Ross Vandegrift
ross at willow.seitz.com

A Pope has a Water Cannon.                               It is a Water Cannon.
He fires Holy-Water from it.                        It is a Holy-Water Cannon.
He Blesses it.                                 It is a Holy Holy-Water Cannon.
He Blesses the Hell out of it.          It is a Wholly Holy Holy-Water Cannon.
He has it pierced.                It is a Holey Wholly Holy Holy-Water Cannon.
He makes it official.       It is a Canon Holey Wholly Holy Holy-Water Cannon.
Batman and Robin arrive.                                       He shoots them.

More information about the Linux-audio-user mailing list