Tuesday, March 24, 2009

Can You Eat Corn In Poptropica

a phone call with an MP3

Hello everyone!

Today I wanted to present an object of curiosity, discovered by chance, relative to a python script that will help us in this "experiment".

As you may have guessed from the title today I will show you a curious thing: how to call a telephone (fixed or mobile) with a simple MP3 file!

You know in fact that the phones (cell phones this method not work) using a coding system to identify which numbers compose, this system is called DTMF . In practice

You enter a number over the phone you have this fixed the sound produced by each of the numbers? Here is what is the system used! Each number corresponds down two fixed frequencies that are emitted simultaneously. With this system, the phones are able to "understand" what number we typed!

I found the frequencies corresponding to each number, thanks to Wikipedia (link above) and I created, thanks to Audacity , files that match the sounds that the phone beeps every time you press a number.

then I wrote a Python script that you type a phone number, concatenate the various sounds and create an MP3 file! Take that file created, bring close to a telephone fixed, lift the receiver and run the MP3 file at full volume (with the receiver as close as possible)! You'll see that hopefully will start a call to the selected number!

E 'something a little pointless but curious, I always liked to investigate these things!

The script is available from this page (with lots of MP3 files): http://balloto.netsons.org/pydtmf.zip

If you try it let me know how it went!

Hi!

ballot

0 comments:

Post a Comment