[Asterisk-Users] OT: sox/gsm weirdness
    David C. Troy 
    dave at toad.net
       
    Mon Nov 10 13:44:19 MST 2003
    
    
  
Oh, cool.  However, soxmix problem still remains.  Soxmix is truncating 
the input files!?!
-rw-r--r--    1 root     root        70851 Nov 10 15:41 call5-in.gsm
-rw-r--r--    1 root     root        75471 Nov 10 15:41 call5-out.gsm
-rw-r--r--    1 root     root         5082 Nov 10 15:42 call5-mix.gsm
The mixed version contains only a second or so worth of audio.  Also, why 
aren't the two files the same size?
Dave
=====================================================================
David C. Troy   [dave at toad.net]                   410-384-2500 Sales
ToadNet - Want to go fast?                        410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925  www.toad.net
On Mon, 10 Nov 2003, Brian West wrote:
> No need to reverse the files now.. they are now padded out.
> 
> bkw
> 
> On Mon, 10 Nov 2003, David C. Troy wrote:
> 
> >
> > Attempting to play with .gsm files generated by Monitor application, along
> > the lines of what bkw suggested for merging channel files (reverse each
> > channel, merge those, then reverse the merged file).  Anyway, that all
> > makes perfect sense.
> >
> > The problem I have is with sox or with the .gsm files * created:
> >
> > Input:
> > -rw-r--r--    1 root     root        47487 Nov 10 12:45 call5-in.gsm
> >
> > Command:
> > sox call5-in.gsm call5-in-rev.gsm reverse
> >
> > Output:
> > -rw-r--r--    1 root     root         5066 Nov 10 13:11 call5-in-rev.wav
> >
> > It's truncating the reverse file severely; when played back it's about 2
> > seconds of what should be 15-20 second file, nowhere near the whole thing.
> > I tried adding 'silence 0', thinking it might be chopping off some silence
> > somewhere but get the same thing.
> >
> > Wondered if anyone else had seen this and/or what their workaround/fix
> > was.  Am running latest sox compiled from source (sox.sourceforge.net).
> >
> > Dave
> >
> > =====================================================================
> > David C. Troy   [dave at toad.net]                   410-384-2500 Sales
> > ToadNet - Want to go fast?                        410-544-1329 FAX
> > 570 Ritchie Highway, Severna Park, MD 21146-2925  www.toad.net
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
    
    
More information about the asterisk-users
mailing list