title: Generating sine wave sound in Python
body: <p>I need to generate a sine wave sound in Python, and I need to be able to control frequency, duration, and relative volume. By 'generate' I mean that I want it to play though the speakers immediately, not save to a file.</p>
  
  <p>What is the easiest way to do this?</p>