svxlink icon indicating copy to clipboard operation
svxlink copied to clipboard

PlayTone enhancement:

Open DG1BBQ opened this issue 10 years ago • 2 comments

PlayTone enhancement:

Pure sine tones sound nice and smooth, but there’s a drawback. They can easily be overheard when reflected audio from walls at home or inside your car causes local destructive interference, so the tone becomes almost inaudible depending on your position relative to the source (dead zones. Very early on, people have recognized this and made emergency signals (sirens, claxons) to have lots of harmonics to rule out that local destructive interference causes dead zones).

I know it's possible to have PlayTone produce a square wave by cranking up the volume (e.g. PlayTone 1000 900 100). Unfortunately the produced tone is invariably loud.

I'd like to propose that PlayTone be modified to optionally produce square waves (possibly even triangle waves?)

Maybe like this :

PlayTone 1000 50 100 sq # plays 1kHz square wave at volume 50 for 100ms

Or:

playSquareTone 1000 50 100

Axel, DG1BBQ

DG1BBQ avatar May 17 '15 18:05 DG1BBQ

Thanks for the suggestion. I'll mark it as a feature request.

sm0svx avatar Jun 06 '15 15:06 sm0svx

playTone 440 500 100 seems to have no output - Should this be 440 100 500 which does?

f5vmr avatar Apr 29 '24 10:04 f5vmr