[asterisk-users] merge gsm files

Steve Edwards asterisk.org at sedwards.com
Thu Dec 20 13:28:17 CST 2007


On Thu, 20 Dec 2007, Mojo with Horan & Company, LLC wrote:

> Tzafrir Cohen wrote:

>> On Tue, Dec 11, 2007 at 11:26:21PM +0800, Rilawich Ango wrote:
>>
>>> Hi,
>>>  How can I merge 2 gsm files into a single file?  I have tried to use
>>
>> The GNU coreutils are shipped with a special[1] tool for this task:
>>
>> cat 1.gsm 2.gsm >1-2.gsm
>>
>> [1] Honestly, it is special. I bet the BSD cat can't do that. And I bet
>> that the busybox one can't do that either.
>
> To clarify Tzafrir's comment a little, I think that 'cat' will only work
> for sound files if all involved are headerless.  I'm not 100% sure which

Nope. Took me off guard as well, so I had to try it. "cat" on my CentOS 
box can append gsm files and they play seamlessly.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list