💾 Archived View for envs.net › ~whitex › stegano › dtmf.gmi captured on 2024-06-20 at 12:37:44. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
░█▀▄░▀█▀░█▄█░█▀▀ ░█░█░░█░░█░█░█▀▀ ░▀▀░░░▀░░▀░▀░▀░░
[ DTMF TONE FREQUENCY ]
1 = 697 HZ AND 1209 HZ 2 = 697 HZ AND 1336 HZ 3 = 697 HZ AND 1477 HZ 4 = 770 HZ AND 1209 HZ 5 = 770 HZ AND 1336 HZ 6 = 770 HZ AND 1477 HZ 7 = 852 HZ AND 1209 HZ 8 = 852 HZ AND 1336 HZ 9 = 852 HZ AND 1477 HZ
MSG = HELLO LOL
ENCRYPTED = 44*33*555*555*666*9*0555*666*555
H = 44
NEXT WORD = *
E = 33
NEXT WORD = *
L = 555
NEXT WORD = *
L = 555
NEXT WORD = *
O = 666
NEXT WORD = *
W = 9
NEXT WORD = *
SPACE = 0
L = 555
NEXT WORD = *
O = 666
NEXT WORD = *
L = 555
sox -n /home/whitex/o1.wav synth 0.1 sine 770 sine 1209 pad 0.2
sox -n /home/whitex/o2.wav synth 0.1 sine 770 sine 1209 pad 0.2
ETC ...
sox o1.wav o2.wav o3.wav final.wav
play final.wav
[ OR ]
[ IF YOU ARE USING BASH SCRIPT FOR ENCRYPTION THEN PLEASE MEARG MANUALLY YOUR OUTPUT.WAV FILES ]
[ YOU CAN ALSO HIDE YOUR DATA USING DTMF + BINARY FORMAT ]
[ FIRST CONVERT YOUR MSG TO BINARY ]
echo -n "good" | xxd -b
[ NOW CONVERT BINARY TO DTMF ]
sox -n o1.wav synth 0.1 sine 941 sine 1336 pad 0.2
sox -n o2.wav synth 0.1 sine 697 sine 1209 pad 0.2
pip install --break-system-packages scipy
pip install --break-system-packages matplotlib
pip install --break-system-packages numpy
python3 dtmf.py final.wav