<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>PC Speaker Sound Preview</title>
  <style>
    body { font-family: Arial, sans-serif; margin: 50px; }
    label, input, button { font-size: 1.2em; }
    input { width: 100px; margin: 0 10px; }
    button { padding: 5px 15px; }
  </style>
</head>
<body>
  <h1>PC Speaker Sound Preview</h1>
  <label for="freq">Frequency (Hz):</label>
  <input type="number" id="freq" value="440" min="20" max="20000">
  <button onclick="playBeep()">Play Beep</button