shanqing-cai / audapter_matlab

MATLAB code for Audapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where to Set Hardware Sampling Rate & Buffer Size

prlabu opened this issue · comments

The Audapter manual states that srate and frameLen parameters are the sampling rate and buffer size of the hardware. However, the audio interface we are using (and most others I assume), the MicrBook IIc, can sample at any rate 44.1kHz to 96kHz. Where do you recommend setting the hardware sampling rate? Should it be done in MATLAB with the Audio Toolbox?

I am asking because I am getting scratchy audio for some trials. My understanding is that this is usually a buffer size & sampling rate problem.

Thanks!!