[open] Recording sound on Windows 8
Dear OpenSesame developers,
I am currently looking for a way to record sounds with OpenSesame.
Audio input ( http://osdoc.cogsci.nl/devices/soundrecorder/ ) works very well on Windows 7 and I was able to record audio responses to sound stimuli.
Nonetheless, on two computers running Windows 8 (one being the one we need to use to run the experiment), I get the following exception: "No module named vcodec" and "ImportError", even though I have checked and can confirm that "sound_start_recording\pymedia\video\vcodec\vcodec.pyd" is in the plugins folder.
I presume the OS is faulty, but it might be something else.
Did anyone experience the same problem? If so, is there a solution?
I tried another solution using PyAudio and the code you posted here http://forum.cogsci.nl/index.php?p=/discussion/107/solved-recording-speech-response/p1 but I had the following message:
"Please build and install the PortAudio Python bindings first."
I am not a computer engineer, and am using the Windows binaries. I am not sure there is a way to fix the PortAudio problem. By the way, I saw there is a file called "_portaudio.pyd" in the OpenSesame folder. So, do you have an idea of what I am missing here?
Finally, I tried the portable version with the PyAudio script you posted but I must miss a file again, as I get the following error:
"No module named pyaudio" "ImportError"
What should I install, and where?
For now, I just need to record sound throught OpenSesame on a computer running Windows 8. Any solution will be fine!
Thank you very much in advance,
Best,
C.
Comments
Hi,
A colleague and I just tried the soundrecorder plugins on Windows 8, and they worked just fine, exactly as on Windows 7. Is there something special about your device or your Windows 8 installation? And what version of OpenSesame are you using?
I haven't tried
pyaudio
, but my guess is that it should work on Windows 8 as well. The error message that you see can result from a failure to initializepyaudio
. This is annoying, but is often resolved simply by restarting OpenSesame. It can also indicate a real error, though--it's just not a very useful error message!Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hello Sebastiaan,
For some reason I never received your answer's notification (for your post in 2015). I have just noticed it thanks to the spam right above. Sorry for not thanking you earlier!
As far as I remember we found a way to fix our sound problem.
Cheers,
C.