tbird Report post Posted 09/26/2008 09:09 PM We use VG to save user recorded comments and play them back to users under another application. We use the Microsoft Sound API, the only supported format is PCM. Is there anyway to save a user record file as PCM in VG? (7) Share this post Link to post
SupportTeam Report post Posted 09/26/2008 09:28 PM You should be able to play back the ULaw and ALaw format files as well. Just double click on the file and you should see Windows play them. Not sure what you mena by "Microsoft Sound API" but easiest test is ot open the Microsoft Sound Recorder (sndrec32.exe) and open the ULaw/ALaw format files in it. You'll see the Sound Recorder application being able to play the files. Share this post Link to post
tbird Report post Posted 09/26/2008 09:57 PM In this case Microsoft has an api called soundapi, which is what developers use to play back .wav files. While the media player can play the file and so can the record tool, the api only supports PCM files, so for any microsoft developer to play back the recorded file they MUST convert it to PCM today. The api is exposed in several ways, PlaySound is a call from WinMM.dll and they also expose it in .NET under the SoundPlayer class in System.Media. So, my question remains, while I know a user could browse to a file and open a tool like media player, our application requires we simply pass a path onto another application, and that application only uses the PlaySound calls and they only support (in all Microsoft variants) PCM files. Share this post Link to post
SupportTeam Report post Posted 09/26/2008 10:27 PM VoiceGuide v7 is designed to record in only ALaw and ULaw format, as these two format are the ones that are most suited for playback/recording over phone lines. Sounds like you will need to either convert the file before playing it or use another API or control to play the file. You can use SoX to convert the files. See: http://sox.sourceforge.net/ Share this post Link to post