[PLUG] Artsy Audio

Paul Mullen pm at nellump.net
Tue Jul 7 01:39:55 UTC 2009


On Sat, Jul 04, 2009 at 06:40:15PM -0700, Noj wrote:
> I was going to build my own normal-open pressure switch (unless
> someone knows where I can buy one, maybe electronic keyboard pedal?)
> and wire it to short out the spacebar on a cheap pc keyboard via cat5

It might be easier to repurpose the guts of an old mouse. Multiple
buttons and position encoders (if you could think of a use for them),
plus a ready-made bus (PS/2 or USB) to connect to the PC.

> Anyone know a good scriptable wav recording/playback app I can put on
> the box (maybe command line oriented)?

The ALSA command-line utilities "arecord" and "aplay" have always
worked well for me, and they should be standard fare in any reasonable
distribution.

> presumed the ability to detect 'keydown' and 'keyup', or an
> application that can alternate 'play while key held down' with 'record
> while key held down with max clip length' behavior.

I don't know of any existing software that does this off-hand, but it
should be easy enough to implement as a shell script. "arecord"
accepts an optional max duration after which it will automatically
cease recording.

-- 
Paul



More information about the PLUG mailing list