title: How would I generating a Sox Synthesized sound similar to an alarm bell
body: <p>I am trying to generate a sound using the sox package synth feature, alarm 1: <a href="https://soundcloud.com/xekons/a1-1" rel="nofollow noreferrer">https://soundcloud.com/xekons/a1-1</a> and alarm 2: <a href="https://soundcloud.com/xekons/a2-1" rel="nofollow noreferrer">https://soundcloud.com/xekons/a2-1</a></p>
  
  <p>its possible to create some interesting sounds:</p>
  
  <pre><code>play -q -n synth 0.2 sine 480 vol 0.2
  play -q -n synth 0.2 triangle 480 vol 0.2
  play -q -n synth 0.2 square 480 vol 0.2
  play -q -n synth 0.2 pluck 480 vol 0.2
  play -q -n synth 0.2 pluck C5 vol 0.2
  play -q -n synth 0.2 sawtooth 480 vol 0.2
  play -q -n synth 0.2 trapezium 480 vol 0.2
  play -q -n synth 0.2 exp 480 vol 0.2
  </code></pre>
  
  <p>Here is a very elaborate one I found online:</p>
  
  <pre><code>play -n synth pl G2 pl B2 pl D3 pl G3 pl D4 pl G4 delay 0 .05 .1 .15 .2 .25 remix - fade 0 4 .1 norm -1
  </code></pre>
  
  <p>To listen to the alarm wave file it seems like its a decreasing volume, but maybe also frequency?</p>
  
  <p>I tried this:</p>
  
  <pre><code>play -q -n synth 0.6 triangle 1500-1300 vol 0.2
  </code></pre>
  
  <p>which changes the frequency, but beyond that it sounds nothing like the bell lol. Also not looking for a close match, just something sounding somewhat similar to the bell in those wav files I linked.</p>
  
  <p>The sox synthesized sound will be used in the python script that I am writing, and will go off under certain conditions. I plan to make the entire project I am working on opensource once I polish it up a bit.</p>