af-ping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For the radio range testing on the One Laptop Per Child project, I've
added audio to Lars Strand's Python ping program.

Now it makes a sound on a twelve-tone scale where the pitch is related
to the time it takes for an ICMP Echo Request packet (ping) to return.

By default, the pings are at about 20 times per second, set by the
length of the sound samples.  Such rapid feedback makes it easier to
learn where wireless coverage is good, or bad.

It can also be used for regular reporting of the health of an internet
connection, using the --noflood option, but the output may be irregular
because the PCM device is not being fed at the speed it desires.

af-ping script is at:

http://quozl.linux.org.au/darcs/olpc-radio-testing/bin/af-ping

af-table-create uses sox to create the sound files in advance:

http://quozl.linux.org.au/darcs/olpc-radio-testing/bin/af-table-create

af-ping expects the files to be in /usr/share/olpc-radio-testing/sounds/
but this is easy to change in the script.

-- 
James Cameron    mailto:quozl@xxxxxxxxxxxxx     http://quozl.netrek.org/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux