From 8479a64a6bb4a896b34336e01c80d2a8baeb0218 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 11 Sep 2019 03:10:05 -0400 Subject: [PATCH] fixes in notes --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index b0b77ed7e3..6992f33080 100644 --- a/README.md +++ b/README.md @@ -83,3 +83,25 @@ Links ----- * http://www.rossbencina.com/code/real-time-audio-programming-101-time-waits-for-nothing + +Troubleshooting +--------------- + +THIS WORKS TO DEFEAT CHIPMUNK NOISES! + +* https://bbs.archlinux.org/viewtopic.php?id=179923 + * https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Setting_the_default_fragment_number_and_buffer_size_in_PulseAudio + +``` +device.serial = "Focusrite_Scarlett_2i4_USB" +device.string = "surround40:1" +device.buffering.buffer_size = "1048576" +device.buffering.fragment_size = "524288" +``` +PulseAudio's default sampling rate and bit depth are set to 44100Hz @ 16 bits. + +> 1048576 / 1411200 (buffer size) +0.7430385487528345 = 743 ms +> 524288 / 1411200 (fragment size) +0.37151927437641724 = 372 ms +