I finally got around to confirming that David Nicholson's instructions
work with EP3.0.3.60 (Update 1).
First, I tried his Script Task Events example and that worked (it also
illustrated some interesting Script Task Events techniques for future use).
Then I tried using DirectSound instead of CoreAudio, and that worked
just as you would expect. I note that David's Codec Config instructions
seemed a bit elliptical, so I will expand them here:
- Open Codec Config.
- Open the "Extensions" branch in the left-hand pane.
- Select ".wav" (or other appropriate file type) in the Extensions branch.
- In the right-hand pane, find "File Source (ASynch)" and select that.
- Click the "Choose Codec" button along the top. (In my case, this did
not do anything obvious.)
- Exit Codec Config, and save the changes when it asks. (Apparently
Codec Config does not have any way to just save your changes so far
without exiting the program.)
I note that as soon as I changed the API to DirectSound in my test
program, instead of crashing the program ran, but it played the sound
file only once without looping. Then after I followed the instructions
to use CodecConfig to map .wav to DirectSound, the sound looped as desired.
Now I just wonder if I have to do anything in CodecConfig to map .wav
back to CoreAudio as needed. But I did go back and run the CoreAudo
example and that worked that same as before, so perhaps all is well now.
-- David McFarlane
On 2018-01-12 3:05 PM, Hank Jedema wrote:
> Hi David,
> Very sorry my lack of reply and thanks very much for yours. I will report
> the bug and see what the DirectShow option can do. The audio that I
> normally include is a simple white noise file, so it makes little sense to
> create and load an audio file that lasts the duration of the experiment.
> Either way, I will report the bug to EP.
>
> Hank P. Jedema
>
>
>
> On Thursday, January 4, 2018 at 5:40:15 PM UTC-5, McFarlane, David wrote:
>>