From 6b169582b687a064f42bb68c14eb97c9ad08ac77 Mon Sep 17 00:00:00 2001 From: bearoso Date: Tue, 23 Apr 2019 18:15:45 -0500 Subject: [PATCH] Updated Audio is crackling or skipping. (markdown) --- Audio-is-crackling-or-skipping..md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Audio-is-crackling-or-skipping..md b/Audio-is-crackling-or-skipping..md index 4fed473..01526b1 100644 --- a/Audio-is-crackling-or-skipping..md +++ b/Audio-is-crackling-or-skipping..md @@ -1,6 +1,6 @@ -A SNES naturally runs at 60.09881 frames per second and generates 532.46 sound samples per frame. Unfortunately, most modern displays run at fewer than 60 frames per second, usually something like 59.94. This means that if we want the video to be smooth, there will be gaps in the audio. +A SNES naturally runs at 60.09881 frames per second and generates 534 sound samples per frame. Unfortunately, most modern displays run at fewer than 60 frames per second, usually something like 59.94. This means that if we want the video to be smooth, there will be gaps in the audio. -Fortunately, we can stretch the audio to fill in the gaps. The sound setting "Input Rate" can be set to whatever Snes9x is actually outputting in terms of audio on your system. So if you have vsync turned on and your monitor runs at 59.94Hz, you can set the input rate to 31915Hz, and there will be no gaps. +Fortunately, we can stretch the audio to fill in the gaps. The sound setting "Input Rate" can be set to whatever Snes9x is actually outputting in terms of audio on your system. So if you have vsync turned on and your monitor runs at 59.94Hz, you can set the input rate to 31955Hz, and there will be no gaps. To make this easier, the Windows and GTK ports have an option called "Automatic Input Rate" that asks your monitor what the refresh rate is and adjusts it for you. To further improve this, you can set the "Dynamic Rate Control" option, which will try to control the audio output in real time so it doesn't crackle.