A place to submit all custom code, scripts, and programs.
Forum rules
Do NOT post malicious code or programs. Please review all code posted in this forum before downloading or running any of the code or programs here.

Post by pretentious on Fri Dec 25, 2015 6:46 am

So dial up modems were a bit before my time but from what I understand, the weird scratchy tone that they have become famous for was literally digital data being transmitted through the speaker.
This code will open any file and write the binary data to a wav file so you can hear it.
Code: Select all
import wave
import array
import sys
f = open(sys.argv[1], "rb")
print sys.argv[1]
obj =[1]+ ".wav",'w')
data = array.array('h')
    byte =
    while byte != "":
Goatboy wrote:Oh, that's simple. All you need to do is dedicate many years of your life to studying security.

IF you feel like exchanging ASCII arrays, let me know ;)
Can you say brainwashing It's a non stop disco
User avatar
Posts: 1203
Joined: Wed Mar 03, 2010 12:48 am
Blog: View Blog (0)


Post by -Ninjex- on Fri Dec 25, 2015 11:55 am
([msg=91044]see Re:[/msg])

This is actually kinda cool. Thanks for sharing (:
For those that know
K: 0x2CD8D4F9
User avatar
Posts: 1691
Joined: Sun Sep 02, 2012 8:02 pm
Blog: View Blog (0)


Post by libroot on Sat Dec 26, 2015 1:57 pm
([msg=91048]see Re:[/msg])

Ah. The good ol dial up days. That is pretty neat actually.
libroot - Another section of the interweb
User avatar
New User
New User
Posts: 4
Joined: Sun Nov 29, 2015 9:28 pm
Blog: View Blog (0)

Return to Custom Code

Who is online

Users browsing this forum: No registered users and 0 guests