home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 86,163 of 87,272   
   Joseph Rosevear to All   
   use of at to schedule a sound   
   18 Feb 23 02:17:36   
   
   From: Mail@JoesLife.org   
      
   Hello,   
      
   I'm trying to schedule, using at, the playing of a sound.  I can schedule   
   events OK, but the playing of a sound is troublesome.  Pulseaudio doesn't   
   want to cooperate.   
      
   I'm using   
      
      play -q /usr/share/sounds/purple/alert.wav   
      
   in a script to play the sound.   
      
   I schedule the execution of the script with   
   another script that performs   
      
      at -f $level/ring now + $1 minutes   
      
   $level is the location of the script that plays the sound, and ring is   
   the script.   
      
   It doesn't work.  Pulseaudio seems to hang.  Sometimes it plays the sound   
   later--maybe after a shut down and restart?  I didn't carefully note the   
   scenario.   
      
   I'm running the script as an ordinary user in an environment that has   
   pulseaudio already running.   
      
   -Joe   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca