Hi All,
I am running Windows 10. I am using the following version of PTB: '3.0.17 - Flavor: beta - Corresponds to SVN Revision 12135. My version of Matlab is: ‘9.10.0.1649659 (R2021a) Update 1’.
I was wondering if there is a way to save the audio buffer directly to disk rather than loading it into Matlab and saving it there.
I’ve used PsychPortAudio to record audio data into a buffer. Currently, I use PsychPortAudio(‘GetAudioData’,…) to get the data out into Matlab, then I save it. However, this takes longer than I would like. Can I simply save the data directly from the buffer or, perhaps better yet, save it directly as it is being recorded? I looked around on the forum and the wiki and I couldn’t find anything about this. However, if I missed it, I’m sorry and I’d appreciate it if you would point me in the right direction.
Thanks!
~Nick