[etoys-dev] Join us for a sprint week before Squeakfest in July!

Steve Thomas sthomas1 at gosargon.com
Sat Apr 24 00:38:32 EDT 2010


Thanks, I like the idea of 'smoothing" my main question though is how do I
get  "sound level" and "sound pitch" to change values?  On my Mac they are
always zero.  World Stethoscope seems to work, I'll try that.


On Fri, Apr 23, 2010 at 10:06 PM, K. K. Subramaniam <subbukk at gmail.com>wrote:

> On Thursday 22 April 2010 12:28:43 am Steve Thomas wrote:
> > This sounds like fun.  I found the World "sound level" and "sound pitch",
> > what needs to be done so kids can use their voices to change these
> > parameters?
> Sound level is related to volume, so with:
>    forward: world sound level / 10.
> you can make an etoy move faster by shouting louder or stop it with
> silence.
> If you set:
>   turn by: (World sound pitch - 500) / 100
> then you can get it to spin around by screaming or whistling different
> tunes at
> it. Tweak the magic numbers to your taste.
> The idea here is to help children discover that sound has numeric
> properties
> too and these properties can influence other properties like color,
> geometry or
> motion.
> Once students get the hang of it, you can introduce the concept of
> 'smoothing'.
>    value = previous value*t + current value*(1-t).
>    previous value = value.
> where t is fraction in the range 0 .. 1.
> Get some ear plugs :-) .. Subbu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100424/444a6225/attachment.html

More information about the etoys-dev mailing list