If you like this I can recommend you to look into the raw audio format [1]. It is a very simple format but it helped me a lot to learn about digital audio.<p>Just take your fav programming language (I took PHP) and write some bits to a file:<p><pre><code>  $file = fopen(&#x27;output.s16&#x27;, &#x27;w&#x27;);
  $amp = returnANiceSynthValue();
  fwrite($file, pack(&#x27;s&#x27;, $amp));
</code></pre>
[1] <a href="http:&#x2F;&#x2F;www.fmtz.com&#x2F;misc&#x2F;raw-audio-file-formats" rel="nofollow">http:&#x2F;&#x2F;www.fmtz.com&#x2F;misc&#x2F;raw-audio-file-formats</a>