107a: sound associations

Please post any bugs you have found
Post Reply
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

107a: sound associations

#1 Post by Lobster »

.au runs the tcl sound editer
but wav (which can run in the tcl editor or xine) does not have an associated file so does not play . . .
Last edited by Lobster on Sun 11 Dec 2005, 03:05, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

Lobster,
I just checked, Rox associates .wav with "wavplay", so should play.
But, if wavplay is faulting, the Snack play.tcl will also play .wav files -- maybe that should be the default?

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#3 Post by GuestToo »

wavplay will only play one sound at a time ... it will put sounds in a queue if wavplay is already playing a sound, but i think it can get jammed up and stop playing, until you kill some processes or reboot

i have a script called wavplay2 that i use with, for example, gaim

Code: Select all

#!/bin/sh
if pidof wavplay | grep [0-9]
then
  exit
fi
exec wavplay "$@"
for Puppy 1.0.7, this could be simplified to

Code: Select all

#!/bin/sh
pidof wavplay || exec wavplay "$@"

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#4 Post by Lobster »

BarryK wrote:Lobster,
I just checked, Rox associates .wav with "wavplay", so should play.
But, if wavplay is faulting, the Snack play.tcl will also play .wav files -- maybe that should be the default?
G2's explanation helped me understand what was going on. It was a little disconcerting to have a wav play with no program seeming to be running it (I guessed it was wavplay)
So I would recommend it is associated with the excellent tcl program as this is easier for most people to comprehend (a program opens to play a file) rather than a sound playing with no discernable means . . .

Incidentally when the tcl recorder opens, it asks to input a file - If I am recording, this behaviour is a fault, as I am not opening a file (hope that makes sense - it is like opening a WP and it asks "what is the name of the file you want to open?") Run it to see what I mean.

I would do whatever makes the transition to ALSA easier (assuming we will soonish)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply