Page 1 of 1
Changing AudioVolume
Posted: 01 Nov 2011, 09:16
by UCTEEGLab
Hi
I am trying to change the audio volume on my stimuli to only play at say 20% of the maximum, but when I change this value in the parameter it doesn't seem to make any difference to the sound output. The volume only changes if I use the Windows volume controls, so it seems that this overrides the BCI2000 value.
Has anyone else had a similar problem?
It isn't too much of a concern because I can just send the Windows volume before I start the experiments, but was just wondering if I am doing something wrong.
Thanks
Leandra
Re: Changing AudioVolume
Posted: 01 Nov 2011, 11:45
by UCTEEGLab
I have just realised I also seem to be having a problem with the duration of the sound files. The wav files I specify as the stimuli are always played exactly as is, even if I change the StimulusDuration.
Is there any way to change this or do I have to make the sound file the exact length I want?
Re: Changing AudioVolume
Posted: 01 Nov 2011, 12:14
by mellinger
StimulusDuration does not control the duration of sound files, it only applies to visual stimuli.
I am trying to change the audio volume on my stimuli to only play at say 20% of the maximum, but when I change this value in the parameter it doesn't seem to make any difference to the sound output.
Are you using the precompiled version of BCI2000, or did you compile it yourself? Make sure that USE_QT_SOUND is not defined when compiling the ApplicationFramework library. Qt sound output is currently experimental, and does not allow volume selection from BCI2000 parameters.
Regards,
Juergen
Re: Changing AudioVolume
Posted: 02 Nov 2011, 03:50
by UCTEEGLab
Thanks for the reply.
I compiled the version that I'm using. I used Visual Studio 2010.
Under which project would I check to see if USE_QT_SOUND is not defined?
Regards
Leandra
Re: Changing AudioVolume
Posted: 03 Nov 2011, 11:47
by mellinger
This was actually a bug, and has been fixed in r3637.
Thanks for reporting,
Juergen
Re: Changing AudioVolume
Posted: 04 Nov 2011, 11:07
by UCTEEGLab
Hi
Thanks for the fix. I updated my BCI2000 folder on SVN and tried to make the new Visual Studio solution, but I get an error show in the attached picture.
I might just be doing something silly.
In the meantime I have downloaded the binaries so will try that.
Re: Changing AudioVolume
Posted: 04 Nov 2011, 11:42
by UCTEEGLab
Sorry the previous reply can be ignored.
I updated my cmake folder again and now it works fine.
Thanks!