avatar
August 31st, 2012

#!/bin/bash
#
# Create DTMF wav file with SoX
# Create a file of the Digit "7" DTMF Tone
# sox -n 7.wav synth 0.5 sine 852 sine 1209 channels 1
# from http://notes.writtenby.tc/sox
#
# synth 0.2 = 0.2 seconds
# ialexs - for learning SoX purpose
# Mon Aug 27 20:52:19 WIT 2012

sox -n dtmf-1.wav synth 0.1 sine 697 sine 1209 channels 1
sox -n dtmf-2.wav synth 0.1 sine 697 sine 1336 channels 1
sox -n dtmf-3.wav synth 0.1 sine 697 sine 1477 channels 1

sox -n dtmf-4.wav synth 0.1 sine 770 sine 1209 channels 1
sox -n dtmf-5.wav synth 0.1 sine 770 sine 1336 channels 1
sox -n dtmf-6.wav synth 0.1 sine 770 sine 1477 channels 1

sox -n dtmf-7.wav synth 0.1 sine 852 sine 1209 channels 1
sox -n dtmf-8.wav synth 0.1 sine 852 sine 1336 channels 1
sox -n dtmf-9.wav synth 0.1 sine 852 sine 1477 channels 1

sox -n dtmf-0.wav synth 0.1 sine 941 sine 1209 channels 1
sox -n dtmf-star.wav synth 0.1 sine 941 sine 1336 channels 1
sox -n dtmf-pound.wav synth 0.1 sine 941 sine 1477 channels 1

sox -n dtmf-busy.wav synth 0.1 sine 480 sine 620 channels 1
sox -n dtmf-dialtone.wav synth 0.1 sine 350 sine 440 channels 1
sox -n dtmf-rbt-US.wav synth 0.1 sine 440 sine 480 channels 1

Comments


This sound has not been commented yet, be the first to comment!

Please log in to comment

  • Currently /5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
(1)
Type
Wave (.wav)
Duration
00:00:100
Filesize
18.8 KB
Samplerate
48000.0 Hz
Bitdepth
32 bit
Channels
Mono
Sound illegal or offensive? Flag it!