As seen on sane-devel (Yes - that's SANE, the scanner people!) Ross ----- Forwarded message from Martin Langer <martin-langer@xxxxxx> ----- From: Martin Langer <martin-langer@xxxxxx> To: sane-devel@xxxxxxxxxxx Subject: [sane-devel] What about creating music with scanning devices? X-BeenThere: sane-devel@xxxxxxxxxxxxxxx X-Mailman-Version: 2.0.11 List-Help: <mailto:sane-devel-request@xxxxxxxxxxxxxxx?subject=help> List-Post: <mailto:sane-devel@xxxxxxxxxxxxxxx> List-Subscribe: <http://www.mostang.com/mailman/listinfo/sane-devel>, <mailto:sane-devel-request@xxxxxxxxxxxxxxx?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@xxxxxxxxxxxxxxx?subject=unsubscribe> List-Archive: <http://www.mostang.com/pipermail/sane-devel/> X-Spam-Status: No, hits=-12.7 required=5.0 tests=BAYES_00,KNOWN_MAILING_LIST,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Hi, 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!" thanks, martin _______________________________________________ Sane-devel mailing list Sane-devel@xxxxxxxxxxxxxxx http://www.mostang.com/mailman/listinfo/sane-devel ----- End forwarded message ----- -- Ross Vandegrift ross@xxxxxxxxxxxxxxxx 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.