Sure.  There were no dashes in the filenames and here is what I got.

[EMAIL PROTECTED] sounds]# sox thousandth.gsm through.gsm test11.gsm
sox: Known effects: avg band bandpass bandreject chorus compand copy dcshift
deemph earwax echo echos fade filter flanger highp highpass lowp lowpass map
mask pan phaser pick pitch polyphase rate repeat resample reverb reverse
silence speed stat stretch swap synth trim vibro vol

sox: Effect 'test11.gsm' is not known!

How do you mean by simultaneously in your comment after joining the files?
 soxmix will mix two or more files together so that they will play
simultaneously,

It both input files becomes one file after soxmix, how can the individual
files still be play simultanously??  May be I got the wrong end of the
stick.

thanks,
Richard
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Richard (Rogers @ work)" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Wednesday, March 28, 2007 1:07 PM
Subject: Re: [on-asterisk] Creating custom recording based on asterisk sound
files


> 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]
> > > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to