> Any comments or improvements welcome..
Why did you used aplay instead of using a more portable way to play sounds, as you already demonstrated to us in Tk Game Sound demo using SDL?
Did you considered to put this software on github? Well you have gigas of tk perl code to post there, if you want..
L*
UPDATE
ok, effectively SDL seems unable to produce sounds, but investigating I found an old module named Audio::Beep that seems fun to use: zentara can you hear me?
#linux quoting perl -MAudio::Beep -e 'for("--.. . -. - .- .-. .-"=~/./g){ /\./ ? beep +(1000,100) : /\-/ ? beep(1000,200) : sleep 1}' #double quoting perl -MAudio::Beep -e "for('--.. . -. - .- .-. .-'=~/./g){ /\./ ? beep +(1000,100) : /\-/ ? beep(1000,200) : sleep 1}"
if you install the module dont miss the oneliner that comes along docs: perl -MAudio::Beep -e 'beep(21 + rand 1000, rand 300) while 1'
In reply to Re: Tk Morse Code Ear tutor (updated) -- oneliner
by Discipulus
in thread Tk Morse Code Ear tutor
by zentara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |