Guest DashboardResearch Report post Posted 03/06/2007 07:16 AM hie i downloaded shntool and i have tried to run the "command /c shntool join -stdout 1.wav 2.wav 3.wav > 1_2_3.wav" i have tried to run in vbscript outside voice guide and it works but when i run it in voice guide i get and error. i tried to run it using Run program and it gave me the same error can you help me need to join files urgently Share this post Link to post
SupportTeam Report post Posted 03/06/2007 07:40 AM There should be no difference between the way a VBScript executes in the 'Run VBScript' module and the way the same VBScript executes outside of VG. Please .ZIP up and post the VBScript file and the VoiceGuide script here. Share this post Link to post
Guest DashboardResearch Report post Posted 03/06/2007 09:18 AM i have ziped the vbs file and the voice guide script join_wavfiles__zipped__Folder.zip Share this post Link to post
SupportTeam Report post Posted 03/06/2007 11:28 AM The .vbs VBScript file supplied in the .zip is very different to the contents of the VBScript module in the VoiceGuide script... Regardless of that, first thing you should try is specifying full path to shntool and all .wav files supplied as parameters. Share this post Link to post
Guest DashboardResearch Report post Posted 03/06/2007 01:08 PM i have attached the picture of the error message i am getting after running this command, trying to put in the path makes even worse "command /c shntool join -stdout 1.wav 2.wav 3.wav > 1_2_3.wav" Share this post Link to post
SupportTeam Report post Posted 03/06/2007 01:52 PM Please post the script which you are using (.ZIPed) Share this post Link to post
Guest DashboardResearch Report post Posted 03/06/2007 02:01 PM i have attatched the script kenyascript.zip Share this post Link to post
Guest DashboardResearch Report post Posted 03/06/2007 02:26 PM i have a attached the file with file paths and its still giving me the same error "command.com /c shntool.exe join -stdout C:\Program Files\VoiceGuide\Scripts\tare\Q1.wav C:\Program Files\VoiceGuide\Scripts\tare\q2.wav> C:\Program Files\VoiceGuide\Scripts\tare\1_2_3.wav" kenyascript.zip Share this post Link to post
SupportTeam Report post Posted 03/06/2007 08:28 PM The paths have spaces in them and have not been surrounded in quotes. Try: "command.com /c shntool.exe join -stdout 'C:\Program Files\VoiceGuide\Scripts\tare\Q1.wav' 'C:\Program Files\VoiceGuide\Scripts\tare\q2.wav' > 'C:\Program Files\VoiceGuide\Scripts\tare\1_2_3.wav'" Notice how single quotes ' are used at beginning and end of each path. Share this post Link to post
Guest DashboardResearch Report post Posted 03/14/2007 07:37 AM Hi i have tried the to place that code in my vb script and i am still getting the same error what other things can i do. is the another tool of merging wav files than just shntool that i can try? Share this post Link to post
SupportTeam Report post Posted 03/14/2007 07:52 AM Please post the latest version of your script. Share this post Link to post
invoso.com Report post Posted 11/03/2012 11:04 AM Hi, trying solving joining two wav files I found problem using shntool. Problem is because shntool not supporting Microsoft A-law format. Any suggestion? Any other solution to join recorded calls? Share this post Link to post
SupportTeam Report post Posted 11/03/2012 08:02 PM You can use SoX (Sound eXchange). See: http://sourceforge.net/projects/sox/ It is a command line utility that can manipulate/convert various formats of audio files. To concatenate two WAV files you can run this command: sox.exe 1.wav 2.wav 12.wav 12.wav will be the concatenation of 1.wav and 2.wav. Home page for SoX is: http://sox.sourceforge.net/ Share this post Link to post