Changing AudioVolume

This forum deals with BCI2000 configuration issues.
Locked
UCTEEGLab
Posts: 18
Joined: 30 Jun 2011, 09:34

Changing AudioVolume

Post by UCTEEGLab » 01 Nov 2011, 09:16

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

UCTEEGLab
Posts: 18
Joined: 30 Jun 2011, 09:34

Re: Changing AudioVolume

Post by UCTEEGLab » 01 Nov 2011, 11:45

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?

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Changing AudioVolume

Post by mellinger » 01 Nov 2011, 12:14

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

UCTEEGLab
Posts: 18
Joined: 30 Jun 2011, 09:34

Re: Changing AudioVolume

Post by UCTEEGLab » 02 Nov 2011, 03:50

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

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Changing AudioVolume

Post by mellinger » 03 Nov 2011, 11:47

This was actually a bug, and has been fixed in r3637.

Thanks for reporting,
Juergen

UCTEEGLab
Posts: 18
Joined: 30 Jun 2011, 09:34

Re: Changing AudioVolume

Post by UCTEEGLab » 04 Nov 2011, 11:07

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.
Attachments
Cmake error.JPG

UCTEEGLab
Posts: 18
Joined: 30 Jun 2011, 09:34

Re: Changing AudioVolume

Post by UCTEEGLab » 04 Nov 2011, 11:42

Sorry the previous reply can be ignored.
I updated my cmake folder again and now it works fine.

Thanks!

Locked

Who is online

Users browsing this forum: No registered users and 0 guests