Play audio stimuli in CursorFeedbackTask
Posted: 15 Jan 2013, 09:01
Hallo,
I would like to play a audio file as a go signal and stop signal during a CursorFeedbackTask. In particular before the feedback starts and after it ends. Therefore I have somehow to combine the CursorTask Module and StimulusPresentation Module. Is that the right way??. I manged to play a audio file using a windows function PlaySounds but it is not really fluent because I have to freeze bci2000 for some time until the sound is played. So I think it would be more elegant to use some code from StimulusPresentation Module but I am not sure how to achieve this. Thank you in advance.
Regards,
Vladi
I would like to play a audio file as a go signal and stop signal during a CursorFeedbackTask. In particular before the feedback starts and after it ends. Therefore I have somehow to combine the CursorTask Module and StimulusPresentation Module. Is that the right way??. I manged to play a audio file using a windows function PlaySounds but it is not really fluent because I have to freeze bci2000 for some time until the sound is played. So I think it would be more elegant to use some code from StimulusPresentation Module but I am not sure how to achieve this. Thank you in advance.
Regards,
Vladi