sound duration syntax

Steve Frost frosts at haskins.yale.edu
Wed May 20 18:42:01 UTC 2009


I have an experiment in which I am playing out WAVs of sentences,
either in Spanish or English based on an input dialog at the beginning
of the experiment and this part works fine. However, I also want to
set the sound duration to be the exact duration of the audio file. I
have calculated the durations for the Spanish and English versions and
entered them into columns in my list called AEduration and SPduration.
I was wondering how best to link the duration field of the sound
object to the appropriate column based on the value of the input
dialog? That is, is the variable 'language' is set to 'spanish' then I
want the duration field to be linked to the values in the SPduration
column and linked to the values in the AEduration if language=english.
My one thought is to make the event with the audio a slide and create
different slide states that would be selected based on the value of
the language variable, but I am wondering if there is an easier way?
Thanks.

Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---



More information about the Eprime mailing list