Posts: 2
Joined: Jan 2006
Reputation:
0
i am having the same problem. the script works but the wav file has a lot of noise/distortion in it. i copied the file from my xbox to my harddrive and it sounds fine (the level is low but it is clear). does anyone know if there is a better way to play it in the script. the current command is
xbmc.player().play('q:\\scripts\\vm.wav')
i am thinking that the low volume level of the file is causing the player to boost it and adding distortion.
Posts: 11
Joined: Jul 2005
Reputation:
0
xport
Junior Member
Posts: 11
if anyone does decide to pick up this script and run with it, id love to see:
intergrated properly with pmiii
ability to view caller id lists
ability to delete the voicemails.
Posts: 2
Joined: Jan 2006
Reputation:
0
i checked the propreties of the wav file and found it has a sample rate of 8khz. i read in one of the forums that the xbox audio only plays 44khz (i think that is what i read). does anyone know if this is correct and if so is the file being resampled to play? could this be causing the distortion and does anyone have any ideas to correct it?
Posts: 928
Joined: Feb 2004
Reputation:
0
Asteron
"Skilled" Python Coder
Posts: 928
you can probably upsample it to 44khz, it should sound the same but play properly.
Posts: 11
Joined: Jul 2005
Reputation:
0
xport
Junior Member
Posts: 11
thanks for that.
any idea how to accomplish that in the script?
Posts: 707
Joined: Jul 2004
Reputation:
6
hi !
i don't know your voicemail (i'm french) but i used something to translate .au files into .wav files...
.au files are u-law files... that is why i'm surprise to see your wave file (.wav extension) with caracteristics of a u-law file (with .au extension)
xbmc just can't play u-law files so i had to convert au -> wav...
but the lib wave or something like this was not working on xbmc... so someone wrote me the lib....
i found a py script to change gain but i did not tryed it yet
just tell me if you need pieces of my code
se ya
Posts: 11
Joined: Jul 2005
Reputation:
0
xport
Junior Member
Posts: 11
if you have any ideas or suggestions on how to clearly play the wav file, i would be willing to try it.
thanks in advance.
Posts: 11
Joined: Jul 2005
Reputation:
0
xport
Junior Member
Posts: 11
there is a pc app that can do all that we would want thru the dash, see this for any possible ideas:
vm rover
hxxp://www.bluedigits.com/products/vmrover/
Posts: 11
Joined: Jul 2005
Reputation:
0
xport
Junior Member
Posts: 11
here is a perl script that maybe someone can convert to python? it converts the voicemail wav files to mp3.
hxxp://www.hughes-family.org/wordpress/2005/03/14/new-vonage-voicemail-to-mp3-script/