Bill Freeman wrote: >> Bill McGonigle wrote: >> Unless you're merging audio tracks, editing audio tends to defy >> scripting because you need an "ear" to listen for the pauses, pops and >> other cutting/splicing points. >> > > But the case in point, looking for touch tones, is different. Touch tones > are designed to be automatically recognizable. Especially since Bill knows > which touch tone he's using, he wouldn't necessarily need an FFT (though it > may, in practice, be the easiest way to do it, given pre-existing software). >
True. My comment was addressing the general lack of scriptable audio editing tools. > ...But > I'd be surprised if there isn't already a suitable software decoder somewhere > inside asterisk, that you could apply in order to get a time stream, or sample > numbers, of when touch tone 2 starts and ends in a sample, and then you could > use sox to carve up the file with your choice of scripting language. > Asterisk definitely has this ability. I'm just not sure where to look in the source. --Bruce _______________________________________________ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/