disable inputs during playing sound?
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



disable inputs during playing sound? Expand / Collapse
Author
Message
Posted 10/3/2007 3:07:15 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/9/2008 3:35:09 PM
Posts: 8, Visits: 26
I have a slide with a text display and a sound. The slide terminates while any key is pushed; and the sound stops at that time too. Is there any way to disable inputs while the sound is playing? So that I can have a complete play of the sound before the slide goes away. Thanks!
Post #667
Posted 10/3/2007 4:16:35 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/9/2008 3:35:09 PM
Posts: 8, Visits: 26
I found a way: instead of adding the sound in the slide, I add an inline code to play the sound following the slide and it works. Still welcome if there is other solutions.
Post #668
Posted 10/4/2007 10:16:54 AM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Moderators
Last Login: 10/30/2008 3:23:17 PM
Posts: 127, Visits: 924
Hello,

The easiest way to do this would be to have a Slide object present the text and sound. Set the Duration property of the Slide to "infinite" and then set the EndSoundAction property of the SlideSoundOut sub-object to "Terminate". The Slide should NOT have input enabled. This will cause the Slide to be presented for however long the sound file is.

Then, place a Wait object immediately following the Slide. Set the Duration of the Wait object to however long you want to allow the subject to respond. Then, add an Input Mask and set the End Action of the Input Mask to "Terminate".

I hope that this has been helpful. Please let me know if you have any further questions.


- Matt


- Matt
PST Technical Consultant
http://pstnet.com
Post #669
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 6:11pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.062. 10 queries. Compression Disabled.