Hi, I am a good programmer in visual basic, but I am totally new to e-prime so I'm having some difficulties in writing a simple experiment. What I want to do is a slide with a sound object and this sound object con play 2 different file. File 1 is played when the subject made a correct response on the PREVIOUS slide, File 2 is played if the response was wrong. <br><br>I tried a lot of different ways: I created an attribute for the sound-file directory, so when the subject give a response I change the attribute of the NEXT slide. But it seems to me that when the software finish the slide and it read the attribute on the next slide, it will found the attribute value empty (like I didn't change it). <br>I tried to save the result on a variable and to change the sound-file directory in the NEXT slide, without using any attribute. I used this method: <br><br><br>'Set theAudio = CSlideSoundOut(Slide2.States(Slide2.ActiveState).Objects("SoundOut1"))<br><br>'Dim theBuffer As SoundBuffer<br>'Set theBuffer= theAudio.Buffers(1)<br>'theBuffer.Filename="C:\\Users\\vbiscione\\Documents\\My Experiments\\SoundRewardP.wav"<br>'theAudio.loadProperties<br><br>But it doesn't work at all. <br>I don't know what to do.. do you have any help? Thank you! <br>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/aUKqCmqXiiAJ">https://groups.google.com/d/msg/e-prime/-/aUKqCmqXiiAJ</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
<br />
<br />