[sane-devel] What about creating music with scanning devices?

Henning Meier-Geinitz henning@meier-geinitz.de
Mon, 31 Mar 2003 18:05:12 +0200


Hi,

On Sun, Mar 30, 2003 at 11:52:33PM +0200, Martin Langer wrote:
> Then it would be depend on a specific scanner and a general solution would
> be much nicer.

It does depend on the scanner. There is nothing we can do about that.

> Ok, I will look to the backend part of my umax, but such things
> should be IMHO part of a middleware level.

Motor movement is absulute low low level for me :-)

> There is no middleware level in the sane architecture - Is that
> right?

There are no real "levels" for SANE at all. Basically the backends do
all the hardware stuff and encapsulate the scanner properties in
options. These are the drivers. The frontends "just" present the options
to the user and handle the scan data.

You could talk about meta backends as "middle level". They are both
frontends and backends. Examples are the dll meta-backen which loads
other backends dynamically or the net/saned combination which allows
scanning over the net. You could do other stuff like image filters
throught meta backends. But it doesn't make sense to use them for
hardware-dependent stuff.

> Yes. There are 1000 ideas to generate some notes, but there are not 1000 
> developers to do it and the companies want to sell more hardware instead of
> using existing hardware for strange things. But linux offers this general
> concepts of ALSA+SANE for a wide range of scanners and soundcards. And I
> like the idea to use it for more than normal things :-) 

Once you get ALSA to scan images we'll talk about implementing music
in SANE. Don't say it's impossible, you could add a CCD element to the
mic input and motors to the left and right speaker outputs ... :-)

Bye,
  Henning