I agree with Rainer. If it's a binary, you'll have problems.
If, however, it's a script, you could make use of this script I use to play a 'start-up' sound when Puppy boots to desktop.....along the same lines as the 'jingle' older versions of Windows used to play at boot (I can't speak from experience for anything newer than Win 7):-
Code: Select all
#!/bin/sh
amixer -c 0 -- sset Master playback -36dB
mplayer /usr/share/audio/logon-1.mp3 &
You'll need mplayer installed for it to work correctly, though this is already present in some Puppies. Trial and error using 'alsamixer' in the terminal will let you adjust the volume level (the '-36db') to a suitable level.....you may want this higher. Where the example gives 'logon-1.mp3' as the sound file, you can of course use any sound file as your warning; make sure this goes into /usr/share/audio so the script will find it.
You can find any number of sites online where you can download free sound clips. Search for one that gives the kind of warning sound you want. The 'startup sound' I use is this one:-
.....though you'll doubtless want something different.
We DO need to know if it's a script or not. If so, we'll then need to figure out how to either trigger this as a separate script, or a way to insert it into the existing script to give the effect you're after. It can be set to repeat, as well, if you want. Rainer is good at this kind of thing, though I can probably help if the script isn't too complex..!
Mike. 