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 Wed 26 Nov 2014, 11:21
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 Posts_count   Goto page: 1, 2, 3 Next
Author Message
trio


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

PostPosted: Wed 19 Aug 2009, 02:26    Post_subject:  pStartupShutdownSound 1.4-1
Sub_title: 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  1216 Time(s) 
pstartupsound.jpg
 Description   
 Filesize   13.23 KB
 Viewed   2614 Time(s)

pstartupsound.jpg


Edited_times_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_website 
trio


Joined: 21 Dec 2008
Posts: 1886
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

_________________
My apps
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: 1886
Location: अनुमोदना

PostPosted: Wed 19 Aug 2009, 18:44    Post_subject:  

Crafty bear,

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

Cheers

_________________
My apps
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: 1886
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

_________________
My apps
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: 1886
Location: अनुमोदना

PostPosted: Wed 19 Aug 2009, 20:01    Post_subject:  

ahh, you're right. it should be /usr/share/audio for the default
_________________
My apps
Back to top
View user's profile Send_private_message 
trio


Joined: 21 Dec 2008
Posts: 1886
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

_________________
My apps
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_website 
panzerpuppy

Joined: 02 Oct 2007
Posts: 632

PostPosted: Thu 20 Aug 2009, 04:03    Post_subject:  

Startup Sound Maker ?

LOL XD

Edited_times_total
Back to top
View user's profile Send_private_message 
trio


Joined: 21 Dec 2008
Posts: 1886
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?

_________________
My apps
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
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_website 
trio


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

PostPosted: Sun 23 Aug 2009, 01:59    Post_subject:  

Updated to v 1.3 - Added, stop sound function

see main post

_________________
My apps
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
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.0051s) ][ GZIP on ]