Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 30 Aug 2014, 08:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
pStartupShutdownSound 1.4-1
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [31 Posts]   Goto page: 1, 2, 3 Next
Author Message
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Wed 19 Aug 2009, 02:26    Post subject:  pStartupShutdownSound 1.4-1
Subject description: Activate a sound at startup & shutdown/reboot
 

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
pStartupShutdownSound-1.4-1.pet
Description 
pet

 Download 
Filename  pStartupShutdownSound-1.4-1.pet 
Filesize  1.71 KB 
Downloaded  1180 Time(s) 
pstartupsound.jpg
 Description   
 Filesize   13.23 KB
 Viewed   2599 Time(s)

pstartupsound.jpg


Last edited by trio on Tue 05 Jan 2010, 10:31; edited 9 times in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 19 Aug 2009, 05:24    Post subject:  

Smile 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 Very Happy

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Wed 19 Aug 2009, 05:52    Post subject:  

Hi Mr. Crustacean,

Laughing

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

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
craftybear


Joined: 16 Jun 2009
Posts: 65
Location: East Coast Oz in God's Country

PostPosted: Wed 19 Aug 2009, 18:35    Post subject:  

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?
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Wed 19 Aug 2009, 18:44    Post subject:  

Crafty bear,

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

Cheers

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
craftybear


Joined: 16 Jun 2009
Posts: 65
Location: East Coast Oz in God's Country

PostPosted: Wed 19 Aug 2009, 18:51    Post subject:  

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.
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Wed 19 Aug 2009, 18:58    Post subject:  

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

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
craftybear


Joined: 16 Jun 2009
Posts: 65
Location: East Coast Oz in God's Country

PostPosted: Wed 19 Aug 2009, 19:53    Post subject:  

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?
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Wed 19 Aug 2009, 20:01    Post subject:  

ahh, you're right. it should be /usr/share/audio for the default
_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Wed 19 Aug 2009, 20:09    Post subject:  

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

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 20 Aug 2009, 01:08    Post subject:  

Quote:
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 Embarassed

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
panzerpuppy

Joined: 02 Oct 2007
Posts: 632

PostPosted: Thu 20 Aug 2009, 04:03    Post subject:  

Startup Sound Maker ?

LOL XD

Last edited by panzerpuppy on Thu 20 Aug 2009, 04:08; edited 2 times in total
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Thu 20 Aug 2009, 04:05    Post subject:  

panzerpuppy wrote:
Startup Sound Maker

ROFL XD

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

Very Happy Very Happy Very Happy


Question It makes a sound at startup, so what?

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Thu 20 Aug 2009, 05:01    Post subject:  

maybe panzer wants something more fancy... "Puppy Sound At Startup Re-doer" Laughing
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Sun 23 Aug 2009, 01:59    Post subject:  

Updated to v 1.3 - Added, stop sound function

see main post

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [31 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0725s ][ Queries: 13 (0.0052s) ][ GZIP on ]