Having a sound responsive EL wire outfit myself, I can say that the sensitivity thing isn't too hard to auto-determine. Analog sound response just uses a microphone in the middle of the circuit with a potentiometer (that's the slider) for sensitivity. It would be pretty easy to use a lilypad plus Skory's recommendation of doing some averaging and whatnot and putting out an appropriate PWM wave instead of using the potentiometer. <br>

<br>Also, since you are using EL-wire, sparkfun has a couple EL-wire shields that might make life even easier. Here is a link to the cheaper one: <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9259">http://www.sparkfun.com/commerce/product_info.php?products_id=9259</a><br>

<br>Sean<br><br><div class="gmail_quote">On Mon, Oct 25, 2010 at 7:46 AM, Adam Skory <span dir="ltr"><<a href="mailto:askory@gmail.com">askory@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

If all you're looking for is adaptive gain control, I don't see why<br>
you need any fancy AI. I can think of some simple heuristics you could<br>
code up on a micro-controller (i.e. approximate mean and deviation of<br>
past n samples every ten seconds). I'm sure something similar would<br>
even be possible with an analog circuit - not that I know how<br>
exactly...<br>
<font color="#888888"><br>
-Skory<br>
</font><div><div></div><div class="h5"><br>
On Mon, Oct 25, 2010 at 3:09 AM,  <<a href="mailto:ch_luk@berkeley.edu">ch_luk@berkeley.edu</a>> wrote:<br>
> Some of you have expressed interest in knowing the specs on my recent<br>
> hack. For those not familiar, I made a dress that responds to sound:<br>
><br>
> <a href="http://bunnymeetsbean.blogspot.com/2010/10/sound-responsive-dress.html" target="_blank">http://bunnymeetsbean.blogspot.com/2010/10/sound-responsive-dress.html</a><br>
><br>
> You guys are going to be disappointed, because it's totally in the spirit<br>
> of Food Network's Semi-Homemade show!<br>
><br>
> The lighting is from a strand of EL wire bought from Cool Neon. It's<br>
> connected to a driver that brightens the lighting in the wire with<br>
> increase in sound intensity. The sound's detected from a microphone inside<br>
> the driver. The driver runs off of a 9V battery inconveniently separate<br>
> from the driver's encasement.<br>
><br>
> I took a dress and sewed the hems into sleeves, through which I threaded<br>
> the EL wire. The battery and driver are placed inside the back of the<br>
> dress - not very pretty, but better then outside of the dress. All<br>
> electronics can be removed, so I can wash the dress (after a fun night of<br>
> dancing).<br>
><br>
> What would be a nice addition is if the gain control for sound intensity<br>
> were adaptive. Right now the driver has a manual slide controller. Anyone<br>
> made something wearable & smart before, i.e. runs on reinforcement<br>
> learning models? I know of the rock-paper-scissor glove<br>
> (<a href="http://grathio.com/2010/03/rock-paper-scissors-training-glove.html" target="_blank">http://grathio.com/2010/03/rock-paper-scissors-training-glove.html</a>). I'd<br>
> like to make a wearable piece that runs some AI algorithm (preferably one<br>
> I have in coded up). Ideas?<br>
><br>
> Smiles,<br>
>  Chung-Hay<br>
><br>
> _______________________________________________<br>
> Cyborg mailing list<br>
> <a href="mailto:Cyborg@lists.noisebridge.net">Cyborg@lists.noisebridge.net</a><br>
> <a href="https://www.noisebridge.net/mailman/listinfo/cyborg" target="_blank">https://www.noisebridge.net/mailman/listinfo/cyborg</a><br>
><br>
_______________________________________________<br>
Cyborg mailing list<br>
<a href="mailto:Cyborg@lists.noisebridge.net">Cyborg@lists.noisebridge.net</a><br>
<a href="https://www.noisebridge.net/mailman/listinfo/cyborg" target="_blank">https://www.noisebridge.net/mailman/listinfo/cyborg</a><br>
</div></div></blockquote></div><br>