Generating DTMF Tones With Linux Script Example

View previous topic View next topic Go down

Generating DTMF Tones With Linux Script Example

Post by jamied_uk on 28th July 2016, 13:34

Generating DTMF Tones With Linux Script Examples



Setup

Code:
sudo apt-get install -y gen


Normal Speed

Code:
#!/bin/bash
myvar="$@"
gen -d "$myvar"
# 0012024561414



Delayed For Better Reception


Code:
#!/bin/bash
myvar="$@"
# gen -d "$myvar"
# 0012024561414
i=0
while [ $i -lt ${#myvar} ]; do y[$i]=${x:$i:1};
gen -d $i;
sleep 0.5
  i=$((i+1));done


Usage example for Above both scripts

Code:
./generate.sh 21a2fvzx


Code:
./generate2.sh 21a2fvzx
avatar
jamied_uk
Admin

Posts : 2260
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Generating DTMF Tones With Linux Script Example

Post by jamied_uk on 28th July 2016, 13:47

To decode DTMF Tones

Code:
sudo apt-get install -y multimon


Code:
multimon
avatar
jamied_uk
Admin

Posts : 2260
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum