Page 1 of 1

read/display audio files

Posted: Tue Sep 22, 2009 9:35 am
by mswynghedauw
Hi all,

again as a new user, thanks for this pretty good soft.

is there any dev somewhere concerning the processing of audio files into openvibe.
i mean, being able to read a wav/midi for example (with a set up on the PAN, etc..) , and display the signal in correlation with the EEG signal displayed ?

in much the same way if is done in brainbay.

thanks
m

Re: read/display audio files

Posted: Tue Sep 22, 2009 9:53 am
by yrenard
Hello mswynghedauw and welcome on this board, thank you for your interest in OpenViBE.

There is no audio playback functionality in OpenViBE yet... There is no such correlation computation either. I guess that reading a sound file based on some well chosen dependencies could be straight forward, resulting in a corresponding OpenViBE signal stream (pink connector). So if you have kownledge in C++, feel free to contribute ;)

Such functionality is not planned for the next few months on our side.

Best regards,
Yann

Re: read/display audio files

Posted: Tue Sep 22, 2009 2:00 pm
by mswynghedauw
hi
in the latest version i got, it seems to have the
ovpCBoxAlgorithmSoundPlayer.cpp
in the pluggin/stimulation dir. but the box does not appear in the stimulation menu of the designer, do you why ?

m

Re: read/display audio files

Posted: Thu Sep 24, 2009 9:17 am
by yrenard
Hello,

this box is for playing a sound file when a specific stimulation occurs. The implementation of this box has been done "quick & dirty" : no windows implementation, and linux implementation simply cats the file on /dev/dsp. Now that you know those limitations, you can understand that this box has been flagged as unstable. In order to use such box, you have to tweak your configuration file and add the following line :

Code: Select all

Designer_ShowUnstable = true
Your configuration file is $HOME/.openviberc on linux and %USERPROFILE%/openvibe.conf under windows.

Hope this helps,
Best regards,
Yann