Unable to play sound files

497 views
Skip to first unread message

Ieva Zeromskaite

unread,
Oct 31, 2013, 8:46:08 AM10/31/13
to e-p...@googlegroups.com
 

Hello,

I am having problems with the loading of sound files. After showing the instructions, neither the Slide Object (with a soundfile inside) nor the SoundOut Object plays when I run the experiment. 

I checked that the soundfile names are correct, in the same file as the eps file, procedure titles are correct too. There's something wrong with the SoundBuffer, however, Eprime script doesn't say what exactly.

Below is the script's copy : 

****

SoundOut1.ResetLoggingProperties

      Set SoundOut1SoundBuffer = SoundOut1.Buffers(1)

      SoundOut1SoundBuffer.Filename = c.GetAttrib(ebUCase_S & ebLCase_o & ebLCase_u & ebLCase_n & ebLCase_d & ebUCase_F & ebLCase_i & ebLCase_l & ebLCase_e)

      SoundOut1SoundBuffer.Load

 

      ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

      '     Label - Procedure_Timeline_Start BEGIN

      ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

 

Procedure_Timeline_Start:

      If Err.Number = ebInputAccepted Then

            Err.Clear

            Resume Procedure_Timeline_StartResume

      ElseIf Err.Number <> 0 Then

***

 

I would be grateful if anybody could help me with that.

Thanks,

Ieva

JACanterbury

unread,
Nov 2, 2013, 5:33:50 PM11/2/13
to e-p...@googlegroups.com
i assume the sounds play fine by themselves in native windows? In which case, have you run PST's 'codec config' utility program on the machine that you want to run the experiment on? I don't have e-prime to hand but I believe you need the file/render file option and you're looking to get green ticks to indicate that all is well.

John

Ieva Zeromskaite

unread,
Nov 4, 2013, 8:32:45 AM11/4/13
to e-p...@googlegroups.com
Thank you so much for your answer, I tried and everything works perfectly now!

Thank you:)

Ieva

JACanterbury

unread,
Nov 5, 2013, 8:38:19 AM11/5/13
to e-p...@googlegroups.com
you're welcome - it's nice to be able to provide an answer - normally I'm the one asking the questions :)

David McFarlane

unread,
Nov 25, 2013, 5:21:50 PM11/25/13
to e-p...@googlegroups.com
Ieva,

This came up again just today at
https://groups.google.com/d/topic/e-prime/IfXqfrtC3Xc . As I said
there, if you use EP2.0.10 or later then first see
http://www.pstnet.com/support/kb.asp?TopicID=3299 .

-----
David McFarlane
E-Prime training
online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster )

/----
Stock reminder: 1) I do not work for PST. 2) PST's trained staff
take any and all questions at https://support.pstnet.com , and they
strive to respond to all requests in 24-48 hours, so make full use of
it. 3) In addition, PST offers several instructional videos on their
YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do
get an answer from PST staff, please extend the courtesy of posting
their reply back here for the sake of others.
\----

David McFarlane

unread,
Nov 26, 2013, 2:28:44 PM11/26/13
to e-p...@googlegroups.com
Oops, sorry I intruded on this old thread (I was responding to an old
message still in my in box). I see now that JACanterbury already
solved this by steering the OP to use Codec Config.

-- David McFarlane
Reply all
Reply to author
Forward
0 new messages