Lub: Dub Valves

// initial immediate beat nextBeat(); autoInterval = setInterval(nextBeat, getCycleIntervalMs()); statusSpan.innerHTML = `🔄 AUTO CYCLE ($bpmSlider.value BPM)`;

S1 is typically lower-pitched and lasts slightly longer than the second sound. The Mechanics of the "Dub" (S2) lub dub valves

The "lub" and "dub" sounds are produced by the closing of the heart valves. The sounds are generated by the turbulence of blood flow and the vibration of the valve leaflets as they close. // initial immediate beat nextBeat()

// ----- Animation & Valve Activation ----- const lubValveDiv = document.getElementById('lubValve'); const dubValveDiv = document.getElementById('dubValve'); const statusSpan = document.getElementById('statusMsg'); autoInterval = setInterval(nextBeat

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Lub Dub Valves | Heart Sound Simulator</title> <style> * box-sizing: border-box; user-select: none;