image thumbnail

Mosquito tone generator

version 1.0.0.0 (1.72 KB) by Rob Slazas
Manipulates a sine function and plays it as .wav audio.

2.4K Downloads

Updated 20 May 2008

No License

function [] = mosquito Freq,Dur,Amp,stereo,taper)

Manipulates a sine function and plays it as .wav audio.

1. Inspired by the "mosquito ringtone" for younger ears.
2. To see how old you(r ears) are, try some freq's from 15k to 18k.
3. See commented section at end for music note frequencies to try.
4. For really high freq's, turn the volume up on your cpu.
5. If values are set for the input arguments, they are played. Otherwise the default values below are used.

Cite As

Rob Slazas (2021). Mosquito tone generator (https://www.mathworks.com/matlabcentral/fileexchange/19938-mosquito-tone-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!