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

Harness, Kathleen kharness at illinois.edu
Sun Jan 20 09:11:51 EST 2013


Steve,
So. . . I look forward to seeing how this is done and giving it a try. You are very adept with Etoys, I hope I can understand what you are doing.
Thanks,
Kathleen
________________________________
From: etoys-dev-bounces at squeakland.org [etoys-dev-bounces at squeakland.org] on behalf of Steve Thomas [sthomas1 at gosargon.com]
Sent: Saturday, January 19, 2013 9:00 PM
To: etoys-dev; A friendly place to get answers to even the most basic questions about Squeak.
Subject: [etoys-dev] How can I play a sound from time A to time B?

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20130120/af18fa46/attachment.html>


More information about the etoys-dev mailing list