On Wed, Aug 19, 2009 at 12:12:17PM -0700, Nathan Angelacos wrote:
> Hi Bernhard,
>
>
> Bernhard Reutner-Fischer wrote:
>> I tested attached with the input-script you gave me, does it sound
>> vaguely similar? If not, can you send me an .au as a sample how it
>> should sound?
>>
>> cheers,
>> Bernhard
>>
>
> Natanael asked me to test your beep applet; If this is the script he  
> gave you, then it it works perfectly.  Thank you!
>
> The original beep has greater spacing between tones, but I don't think  
> that's strictly necessary.  I'm attaching an au of the original sound so  
> you can compare.
>
> Evidently there's a bug in the original "beep" that causes it not to  
> play the "-f$c -l400" sequence; busybox beep doesn't have this bug ;-)
>
> If you remove the "c" note from the script, they sound exactly the same,  
> except for the length of silence between notes.
>
> a=$((220*3))
> b=$((247*3))
> c=$((262*3))
> d=$((294*3))
> e=$((329*3))
> f=$((349*3))
> g=$((392*3))
> beep -f$d -l200 -r2 -n -f$e -l100 -d 10 -n -f$c -l400 -f$g -l200
>
>
> Thanks again Bernhard!

Thanks for the confirmation, but i have to redo the option parsing.
Consider Beethoven's 9th symphony:
e2, e2, f2, g2, g2, f2, e2, d2, c2, c2, d2 (etc, see e.g.
http://breizhpartitions.free.fr/de/partitur_download.php/219_Europahymne_(Ode_an_die_Freude)

You'd say something like
./beep -f$d -l200 -r2 -d 100 -f$e -l200 -f$f -l200 -r2
and there you see that we have to retain the order of the options
(which currently doesn't work with getopt32 AFAIK)
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to