On Tue, Feb 18, 2003 at 09:06:16PM -0500, Jean-Marc Valin wrote:> BTW, when you have something working and stable, I could include it in > the main Speex distribution.Hmmm, define working and stable :) <braindump topic="speexcat"> It began as a merge between speexdec and speexenc from 1.0beta3, with the encoding/decoding removed, and simply piped in and out from ogg streams. I never expected it would work joining different bitrate/encoding streams, but just then I tested joining an 8000Hz narrowband stream with a 16000 Hz wideband, and the output sounds pretty sane. The interface is: peexcat --title "new title" --author "new author" \ file1.spx start_frame end_frame file2.spx start_frame end_frame ... Ideally, you should be able to specify the time as hours:mins:seconds.splitseconds rather than frame numbers (by bash you can just do $(((min*60+sec)*50)) but it's tacky). I discovered the magic number 50 somewhere as being the number of speex frames per second... is this a universal constant that can be guaranteed? It also does some black magic and contortion with granule_pos, so the XMMS player knows how long the file is and can seek without too much effort. I'll probably clean up speexcat first, and then get speexdec doing consecutive streams. The other reason for the creation of speexcat is that the XMMS plugin does not like seeking within anything except the first logical stream. I may pick up this as well as I haven't heard anything back from Jens and his site has disappeared. </braindump> Thanks for listening :) Comments welcome! Regards, Bernard. -- Bernard Blackham bernard at blackham dot com dot au -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030219/a61bb392/part-0001.pgp
> Hmmm, define working and stable :)By that I mean that you're fine with releasing it with your name on it and not be afraid to get flamed.> <braindump topic="speexcat"> > It began as a merge between speexdec and speexenc from 1.0beta3, > with the encoding/decoding removed, and simply piped in and out from > ogg streams. I never expected it would work joining different > bitrate/encoding streams, but just then I tested joining an 8000Hz > narrowband stream with a 16000 Hz wideband, and the output sounds > pretty sane. The interface is:Well, I'm guessing that if you join a narrowband and a wideband stream with speexcat, you lose the high-band in the second part, right? To make speexdec handle chained streams, it would have to handle new headers with different sampling-rate, channels, ...> Ideally, you should be able to specify the time as > hours:mins:seconds.splitseconds rather than frame numbers (by bash > you can just do $(((min*60+sec)*50)) but it's tacky). > > I discovered the magic number 50 somewhere as being the number of > speex frames per second... is this a universal constant that can be > guaranteed?Only if you use 8/16/32 kHz, otherwise the real value is sampling-rate/samples-per-frame. Jean-Marc -- Jean-Marc Valin, M.Sc.A. LABORIUS (http://www.gel.usherb.ca/laborius) Université de Sherbrooke, Québec, Canada <p> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 242 bytes Desc: signature.asc Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030219/505b629d/signature-0001.pgp
On Wed, Feb 19, 2003 at 10:35:26AM +0800, Bernard Blackham wrote:> <braindump topic="speexcat"> > It began as a merge between speexdec and speexenc from 1.0beta3,And after all of that I forgot to say where to find it, sorry! http://dagobah.ucc.asn.au/speexcat/speexcat.c Jean-Marc: I'll clean it up soon for you to put into the speex distribution. Bernard. -- Bernard Blackham bernard at blackham dot com dot au -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030219/2c9b1418/part-0001.pgp
This must be a FAQ. Right? Still, with seperate speex and Ogg Vorbis sites, it isn't popping out at me. Has anyone done any work on a fixed point (integer, no floats or doubles only ints and longs...) implementation of speex? If so, can you point me toward it or any discussion about the methodology one might use. I'd like to run on a fixed point DSP... --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wed, Feb 19, 2003 at 01:40:29AM -0500, Jean-Marc Valin wrote:> By that I mean that you're fine with releasing it with your name on it > and not be afraid to get flamed.Okay, I have something which I'm *almost* not entirely ashamed to put my name on (yours is too ;). I'd call it beta quality at best. Known bugs: * very little testing on mixed bitrates * hardcoded 50 frames/second - time wont be correct for files not encoded at 8/16/32 kHz * to alter comments requires passing the entire new comment (ie, you can't just change the author alone) http://dagobah.ucc.asn.au/speexcat/speexcat.c Compiled in the same way as speex{enc,dec}.c Regards, Bernard. -- Bernard Blackham bernard at blackham dot com dot au -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030222/72d3fd72/part-0001.pgp