<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Steven,<br>
<br>
as a start: there's SampedSound>>playSilentlyUntil: to fast
forward a sound. #resumePlaying will play the sound from there and
#pause will stop playing after the word. There's more useful
methods in sampledSound and AbstractSound. But you'll have to
figure out how to get the time for the beginning of each word.<br>
<br>
Cheers<br>
<br>
Herbert<br>
<br>
Am 20.01.2013 04:00, schrieb Steve Thomas:<br>
</div>
<blockquote
cite="mid:CAGa9PAbdJSf=Gy7xZpuBUZg2GxGoOYyS35AXLJtx2TWjZYgbQQ@mail.gmail.com"
type="cite">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.
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>So... How do a play a sound recorded in Etoys from time A to
time B?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Stephen</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
</blockquote>
<br>
</body>
</html>