Sound effects?
#1
i've modifed the great yac callerid script to take any text, and display it on a plain image. works great for network broadcasts, etc... it would be nice to be able to play a soft sound as an alert. is it possible to play a built in system sound that won't disrupt a currently playing video (similar to the notification from the kai autodetection box?)

thanks
Reply
#2
doesn't xbmc.notification() play the sound associated with:
Quote: <window>
<name>infodialog</name>
<activate>notify.wav</activate>
<deactivate>out.wav</deactivate>
</window>
in sounds.xml?
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#3
there was a time where playing a file using python xbmc.player() was just pausing currently playing file...
did you try to play a mp3 or a short wav from a script while watching a movie ?
Quote:import xbmc
import time
time.sleep(20) #wait20seconds , time for you to launch a movie
xbmc.player.play(yourpath+"mytestsound.wav")
launch this script and go open you video, hurry ! you only have 20seconds ! lol
Reply
#4
thanks for the suggestions, i've give them a try.
Reply
#5
using xbmc.player().play when a video is playing resulted in that video stopping, so this won't work.
Reply
#6
take a look at poker timer ii. if any media is playing. it pauses it plays an alarm and the resumes.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#7
it would be cool if in v2 the sound effects(actions/windows) could be exposed to python
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply

Logout Mark Read Team Forum Stats Members Help
Sound effects?0