Could you clarify "did not work"? As regretably, you're mistaken, the command and syntax is:
sox sourcefile1.gsm sourcefile2.gsm destination.gsm It might be that all the dashes in your filename are confusing the commandline parser, and trying to use them as options... soxmix will mix two or more files together so that they will play simultaneously, which I don't believe is what you were asking for. Cheers, spd On Wed, 28 Mar 2007, Richard (Rogers @ work) wrote: > Hi Simon, > > I tried using 'sox' to join the files but it did not work. > Having looked around, I think you meant 'soxmix' rather than 'sox' > > Thanks, > Richard > ----- Original Message ----- > From: "Richard (Rogers @ work)" <[EMAIL PROTECTED]> > To: "Simon P. Ditner" <[EMAIL PROTECTED]> > Cc: <[email protected]> > Sent: Wednesday, March 28, 2007 11:43 AM > Subject: Re: [on-asterisk] Creating custom recording based on asterisk sound > files > > > > Thanks Simon. Regarding the normalization. I tried it with a windows > tool > > but it could not even read the wav file generated by sox. > > I will try the tool you suggested. > > > > Thanks, > > Richard > > ----- Original Message ----- > > From: "Simon P. Ditner" <[EMAIL PROTECTED]> > > To: "Richard (Rogers @ work)" <[EMAIL PROTECTED]> > > Cc: <[email protected]> > > Sent: Wednesday, March 28, 2007 11:12 AM > > Subject: Re: [on-asterisk] Creating custom recording based on asterisk > sound > > files > > > > > > > That sort of work would happen outside of asterisk using tools like > > > 'sox', and 'audacity'. > > > > > > For example, with sox you can concatenate files like so: > > > > > > sox 1-for-am-2-for-pm.gsm thanks-for-calling-today.gsm output.gsm > > > > > > Normalization would happen outside of Asterisk, I'm not sure how it > would > > > be done from the command line with sox, though it's easy to do in > > > Audacity (Effect -> Normalize). > > > > > > On Wed, 28 Mar 2007, Richard (Rogers @ work) wrote: > > > > > > > Hi, > > > > > > > > There are a whole bunch of .gsm, .ulaw, .wav files in > > > > /var/lib/asterisk/sounds/ within asterisk. > > > > Is there any ways to create a custom recording by concatenating these > > > > available files? > > > > > > > > Say 1-for-am-2-for-pm.gsm + thanks-for-calling-today.gsm +... to make > up > > a > > > > custom sentence to be played back to the callers. > > > > > > > > Also, I tried to converting a gsm file to wav format but end up with > > very > > > > low volume - too low it's not usuable. > > > > Any ideas on how to normalise a wave file in Asterisk? > > > > > > > > Thanks in advance, > > > > Richard > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > >
