You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At recorder example code's continueRecording method, referenced below, comment block states "The queue1 object can buffer approximately 301700 us of audio", but it seems that it should be 150930 us.
At the same comment block, "A pair of audio blocks arrives every 5802 microseconds" is correct (44100 Hz, 16 bit, mono). But, since queue1 object has a buffer of 52 blocks, max audio buffer time should be 150930 us, which is also compatible with AudioRecordQueue docs at Audio System Design Tool.
At recorder example code's continueRecording method, referenced below, comment block states "The queue1 object can buffer approximately 301700 us of audio", but it seems that it should be 150930 us.
At the same comment block, "A pair of audio blocks arrives every 5802 microseconds" is correct (44100 Hz, 16 bit, mono). But, since queue1 object has a buffer of 52 blocks, max audio buffer time should be 150930 us, which is also compatible with AudioRecordQueue docs at Audio System Design Tool.
https://github.com/PaulStoffregen/Audio/blob/bd7de878a802841857a762e855e55fcc9da37fa2/examples/Recorder/Recorder.ino#L174C22-L174C29
The text was updated successfully, but these errors were encountered: