The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Trying to suspend or pause execution of a program.
Replies: 2   Last Post: Apr 16, 2013 12:34 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Clif McInnis

Posts: 11
Registered: 4/11/13
Re: Trying to suspend or pause execution of a program.(updated)
Posted: Apr 16, 2013 12:34 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

This is the manipulate that I was talking about (I added another button). It is an attempt to help Pre-Kindergarten and Kindergarten children learn about the numerals and numbers from one to 9. The problem is that it is easy to get the audio out of sync with the graphics. I have played around with Pause[different values] and Enabled->False/Enabled->True as well as SynchronousUpdating -> False. I was hoping that someone might be able to tell me whether I was on the right track; if there is a different function I should look at; or (most important) if what I am trying to do is not doable.(I want to thank John Fultz for contributions previously made to this manipulate.)
Thank You, Clif McInnis

Row[If[n < 2, {Spacer[160],
Style[nnames[[n]], Bold, Large, Hue[RandomReal[]]],
Style[" Ball", Bold, Large, Green]}, {Spacer[160],
Style[nnames[[n]], Bold, Large, Hue[RandomReal[]]],
Style[" Balls", Bold, Large, Green]}]]],
Darker[Green], Disk[],
Text[Style[numerals[[ r]], Orange, "Label", 48], {0,
0}]}], {r, 1, n}]
]}, BaseStyle -> {LinebreakAdjustments -> {1., 10, 0, 0,
10}}], {525, 300}],
" Start \n ", {n = 1,
Speak["lets count the numbers 1 to 9 out loud. One"]}],
"\[FilledLeftTriangle]\[FilledLeftTriangle] Start Over", {n = 1,
"\[FilledLeftTriangle] Less", {If[
n < 2, {n = 1,
Speak["Today we are just working on the numbers from one to \
nine."]}, {n -= 1, Speak[n]}]}], Spacer[10],
"More \[FilledRightTriangle]", {If[
n > 8, {n = 9,
Speak["Lets learn the numbers from one to nine before we go \
on."]}, {n += 1, Speak[n]}]}],
"All \[FilledRightTriangle]\[FilledRightTriangle]", {n = 9,
{{n, 9, " "}, ControlType -> None},
Initialization :> (
numerals = {"1", "2", "3", "4", "5", "6", "7", "8", "9"};
nnames = {"One", "Two", "Three", "Four", "Five", "Six", "Seven",
"Eight", "Nine"};

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.