CursorFeedbackTask and WavePlayer

Forum for discussion on different user applications
Post Reply
amiladinovic
Posts: 1
Joined: 18 Jan 2018, 10:33

CursorFeedbackTask and WavePlayer

Post by amiladinovic » 18 Jan 2018, 10:45

Hi,

I would like to modify CursorFeedbackTask and to play a .wav files on OnTrialBegin, OnFeedbackBegin and OnFeedbackEnd (3 different files).

I have found this in the API
https://www.bci2000.org/mediawiki/index.php/Programming_Reference:WavePlayer_Class
and that I need to Load a file in Initialize() using WavePlayer::AttachFile() and play it with WavePlayer::Play(). Also to use STL containers to store multiple WavePlayer instances.

I am not very proficient in CPP, so I need some help, about the location and how to give a path to the wav files?

Thank you in advance!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest