Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14328 > unrolled thread
| Started by | Clif McInnis <c_mcinnis@hotmail.com> |
|---|---|
| First post | 2013-04-27 03:08 +0000 |
| Last post | 2013-04-27 03:08 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Speak errors (was Re: audio) Clif McInnis <c_mcinnis@hotmail.com> - 2013-04-27 03:08 +0000
| From | Clif McInnis <c_mcinnis@hotmail.com> |
|---|---|
| Date | 2013-04-27 03:08 +0000 |
| Subject | Re: Speak errors (was Re: audio) |
| Message-ID | <klfffc$jl6$1@smc.vnet.net> |
Hi debguy, Yes, I think that a race condition is what is happening. When the code is run without Pause statements, the graphics can easily race ahead of the audio, and when Pause statements are included, after each speak[], the audio races ahead of the graphics. I tried to find "FrontEndEvaluate" in the Documentation Center, but it gave me "FrontEndExecute" (which did not seem to address the question) instead. I have also tried to disable the buttons (Enable-> False) when the button is pressed and have them enable again when the graphics has updated, but that doesn't seem to work(does about the same thing as the pause statements). I appreciate all suggestions. > (a race condition - that is why I suggested simple waiting. i see no > > solution posted above so let me try again....) > TRY THIS: > The Front-End has it's own evaluator separate from the kernel. I'm > > thinking maybe that's where your split (and then race condition) > > occurs. Make sure all expressions effected are done by one or the > > other but are not split in-between both. See "FrontEndEvaluate" for > > more info. I'm thinking that because I beleive many new features todo > > with dynamic front end content have some level of integration with the > > new front-end evaluator.
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web