Suggested modification/extension of beep

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Feb 20 19:21:03 UTC 2010


On Thu, Feb 18, 2010 at 10:28:07AM +0100, Harald Becker wrote:
>Hi!
>
>I  want to suggest an alternate and extended command syntax of the beep
>applet. The new syntax is very close to old one. That is most old script
>should work without a fix or only little modifications. Additionally a
>new syntax style allows to play sequences of tones more easily.
>
>Example:
>old: beep -f 200 -l100 -d50 -n -f400 -l200 -n -f800 -l50
>new: beep -d50 200:100 400:200 800:50

I don't like that too much for the compat reasons stated by other
people.
>
>Additionally  the new beep allows to play phaser style effects. That is
>increasing or decreasing tone frequencies over the tone duration (in
>contrast to constant frequencies).
>
>Example:
>beep 1000..4000:200
>beep 4000..1000:200
>
>There is also an new option, which allows for delays after the last
>played tone.
>
>Example:
>beep 1000:100 -w2000
>(plays a single tone of 1000Hz over a duration of 100ms and than waits
>for 2000ms before exiting)
>
>The configuration menu allows selection of the old or new style command
>syntax (old or new code of beep applet). Additionally the phaser effects
>can be enabled or disabled (excluded from code).
>
>Patch to current snapshot included.
>
>Comments?

you forgot to add size(1) and ./scripts/bloat-o-meter output. How do
they look like for all combinations of EXTENDED, PHASER and bare?


More information about the busybox mailing list