[etoys-dev] How can I play a sound from time A to time B?

karl ramberg karlramberg at gmail.com
Mon Jan 28 16:02:38 EST 2013

Open a graph on the sound.
You may need to edit the sound to get a graph of it.
A graph is much like a holder so you can play sound from a sample location
to another sample location.

Keep an eye out for the length of the sound you load. I'm sure a long sound
will be a big hog of memory and make your project sluggish.


On Sun, Jan 20, 2013 at 4:00 AM, Steve Thomas <sthomas1 at gosargon.com> wrote:

> So I figured out how to read in a paragraph of text and split it
> into separate words I can highlight as I read.  Still need to play around a
> bit to handle the different fonts/sizes and kerning.
> Each word is its own Text object embedded in a Rectangle which
> "highlights" the words as I read.  I set the "highlight timing" by using
> the keyboard as I record the sound.  Then make minor adjustments as needed.
>  This will play fine in reading the whole sentence/paragraph.
> But I want the user to be able to click on a word and hear that word
> spoken. Rather than re-record each word, I would like to be able to play a
> snippet of the recording.
> So... How do a play a sound recorded in Etoys from time A to time B?
> Cheers,
> Stephen
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20130128/07f15518/attachment.html>

More information about the etoys-dev mailing list