Skip to content

dzourn/py-dtmf-encoder-decoder-bandpass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DTMF encoder and decoder w/ bandpass filters

DSP course assignment. Create a DTMF decoder with bandpass filters.

Run

pip3 install -r requirements.txt

Encoder

python3 encode_DTMF_signal.py <number you want to encode>

This will create a .wav file where each character has a duration of 0.6 seconds including pause.

Decoder

python3 decode_DTMF_signal.py <.wav file> <number of characters>

This will return you the characters which are encoded in the .wav file.

NOTE: you have to know how many numbers are encoded or there will be an error/mistake.

TODO

  • clean up code, organize in functions, more comments
  • fix number of characters

About

simple DTMF encoder and decoder w/ bandpass filters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages