Page 1 of 2

pStartupShutdownSound 1.4-1

Posted: Wed 19 Aug 2009, 06:26
by trio
Hi,

We often read questions in beginners & how to sections, about how to play a sound at startup, well here's a startup sound maker, very simple and small

- menu entry under multimedia group
- default dir is /usr/share/audio
- if you want other than standard sounds, just put it in default dir
- default sound is 2barks.au
- run fixmenus & retstart window manager (refresh menus) after install

WARNING - IT IS MADE AND TESTED IN PUPPY 4.3.1 - I don't know if it is compatible with other (or older) series
No warranty whatsoever


Updated to v 1.4-1 - Modified shutdown sound so it plays until finished
Updated to v 1.4 - Added - shutdown sound
Updated to v 1.3 - Added - stop sound function
Updated to v 1.2 - warning to use only .wav & .au
Updated to v 1.1 - default dir is /usr/share/audio

Posted: Wed 19 Aug 2009, 09:24
by Lobster
:) I like it

free sounds here (I now have a Gregorian chant as my load sound)
http://www.partnersinrhyme.com/pir/PIRsfx.shtml

suggestions
menu /desktop is where the prog should locate
a random
and loop button (the loop button can be used with tranquil sounds)

Many thanks trio :D

Posted: Wed 19 Aug 2009, 09:52
by trio
Hi Mr. Crustacean,

:lol:

Anyway, it's made with a very simple basic Xdialog..not many functions can be added, for that I have to use gtkdialog (which will be bigger), so I'll let this tiny app as is.

Thanks for using it

Posted: Wed 19 Aug 2009, 22:35
by craftybear
trio wrote:Anyway, it's made with a very simple basic Xdialog..not many functions can be added, for that I have to use gtkdialog (which will be bigger), so I'll let this tiny app as is.
This is good but it gives me a problem. When I add music files in .wav format to the /usr/share/audio directory, the program doesn't know they are there. Only the files in the directory when the program was first run will show up in the list of choices. Can you help?

Posted: Wed 19 Aug 2009, 22:44
by trio
Crafty bear,

Shouldn't the directory be /usr/share/sounds ?

Cheers

Posted: Wed 19 Aug 2009, 22:51
by craftybear
trio wrote:Crafty bear,

Shouldn't the directory be /usr/share/sounds ?

Cheers
On my Upup-476, that directory only has links to /usr/share/audio and I don't know how to easily add links??? Wouldn't it be better to use the source directory? Just asking. Please don't be offended as I like your program and I want it to work for old guys like me.

Posted: Wed 19 Aug 2009, 22:58
by trio
Hmm,

I don't have dpup. But, you may try to search (pfind) 2barks.au for example, and see where it is, then you can put your audio file there

Posted: Wed 19 Aug 2009, 23:53
by craftybear
trio wrote:I don't have dpup. But, you may try to search (pfind) 2barks.au for example, and see where it is, then you can put your audio file there
No it's Upup I have and I found the audio files in /usr/share/audio with links in /usr/share/sounds. Seems like /usr/share/audio should be the default directory for your app, trio? Can you confirm this on the puppy version that you run?

Posted: Thu 20 Aug 2009, 00:01
by trio
ahh, you're right. it should be /usr/share/audio for the default

Posted: Thu 20 Aug 2009, 00:09
by trio
Updated to v 1.2 - warning to use only .wav & .au
updated to v 1.1 - change default dir to /usr/share/audio - thanks crafty bear

see main post

Posted: Thu 20 Aug 2009, 05:08
by Lobster
Thanks for using it
no probs
I tried modifying it
using madplay instead of aplay (it has th ability to repeat and use a random play)
However my code locked up my machine
messed up my startup
and meant I had to reinstall Puppy
- or rather set it up from CD
only a few minutes work

Ah well :oops:

Posted: Thu 20 Aug 2009, 08:03
by panzerpuppy
Startup Sound Maker ?

LOL XD

Posted: Thu 20 Aug 2009, 08:05
by trio
panzerpuppy wrote:Startup Sound Maker

ROFL XD

Can you really make your own sounds from scratch with this app?

:D :D :D
:?: It makes a sound at startup, so what?

Posted: Thu 20 Aug 2009, 09:01
by 01micko
maybe panzer wants something more fancy... "Puppy Sound At Startup Re-doer" :lol:

Posted: Sun 23 Aug 2009, 05:59
by trio
Updated to v 1.3 - Added, stop sound function

see main post

How do I manage the other sounds?

Posted: Mon 14 Dec 2009, 12:39
by Dromeno
The Puppy which I share most with other people is one which very much looks&feels like Windows XP (much thanks to WhoDo's icewm packages and such).

Now I would like to add all the typical windows sounds. Adding the startup sound is easy thanks to this little app.


But now the rest - critical battery sound, logoff sound etc etc. It would be nice to have a simple interface to add/remove sounds to certain events similar to what XP does.

Does something like that exist or can Pstartupsond be expanded into a complete Psoundmanager?

Posted: Wed 16 Dec 2009, 22:29
by abushcrafter
Thanks. Any good sounds for puppy?

Re: How do I manage the other sounds?

Posted: Sat 02 Jan 2010, 15:17
by trio
Dromeno wrote:The Puppy which I share most with other people is one which very much looks&feels like Windows XP (much thanks to WhoDo's icewm packages and such).

Now I would like to add all the typical windows sounds. Adding the startup sound is easy thanks to this little app.


But now the rest - critical battery sound, logoff sound etc etc. It would be nice to have a simple interface to add/remove sounds to certain events similar to what XP does.

Does something like that exist or can Pstartupsond be expanded into a complete Psoundmanager?
For now - I added shutdown sound - see main post

Posted: Sat 02 Jan 2010, 17:22
by abushcrafter
Thanks again startup and shutdown sounds are just what I wanted! :D

Posted: Sun 03 Jan 2010, 01:54
by trio
abushcrafter

You are welcome :lol: