Itay, I tested on C6x in May with build 11343 and 11398, and it worked fine. I just ran the same test with build 11768, and there was no cancellation, just as you saw. I will try to track this down in the next day or two. In the meantime, I suggest that you try testing with 11398. - Jim ----- Original Message ----- From: Itay Chamiel To: speex-dev@xiph.org Sent: Monday, August 14, 2006 10:56 AM Subject: RE: [Speex-dev] AEC on a TI C6x - has no effect Thanks to a tip from Jean-Marc, I tried the floating point version and it worked well. If anyone has a clue as to why the fixed point version doesn't work, let me know as I would really appreciate the CPU time reduction (20% as opposed to 70%). Thanks, -itay ------------------------------------------------------------------------------ _______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xiph.org/mailman/listinfo/speex-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20060815/fdd69035/attachment.html
Jim Crichton a ?crit :> Itay, > > I tested on C6x in May with build 11343 and 11398, and it worked > fine. I just ran the same test with build 11768, and there was no > cancellation, just as you saw. I will try to track this down in the > next day or two. In the meantime, I suggest that you try testing > with 11398.Hmm, that's odd because the fixed-point seems to work for me and usually the problems show up with the C55, but not the C64. The only two changes I made to the AEC since 11398 were 11750 and 11751. Can you tell me which one is problematic? Thanks, Jean-Marc> - Jim ----- Original Message ----- From: Itay Chamiel To: > speex-dev@xiph.org Sent: Monday, August 14, 2006 10:56 AM Subject: > RE: [Speex-dev] AEC on a TI C6x - has no effect > > > Thanks to a tip from Jean-Marc, I tried the floating point version > and it worked well. > > If anyone has a clue as to why the fixed point version doesn't work, > let me know as I would really appreciate the CPU time reduction (20% > as opposed to 70%). > > Thanks, > > -itay > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ Speex-dev mailing > list Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > > > > ------------------------------------------------------------------------ > > > _______________________________________________ Speex-dev mailing > list Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev
Hi Jim, I've tried both 11343 and 11398 (after fixing a couple of compiler errors) and annoyingly enough I get the same results as the current build: float works, fixed doesn't. I also saw the same phenomenon where the st->W and st->PHI arrays are all zeroes in fixed point mode. I'm still optimistic though, as you've seen the same problem I've seen. Thanks, -itay ________________________________ From: Jim Crichton [mailto:jim.crichton@comcast.net] Sent: Tuesday, August 15, 2006 3:39 PM To: Itay Chamiel; speex-dev@xiph.org Subject: Re: [Speex-dev] AEC on a TI C6x - has no effect Itay, I tested on C6x in May with build 11343 and 11398, and it worked fine. I just ran the same test with build 11768, and there was no cancellation, just as you saw. I will try to track this down in the next day or two. In the meantime, I suggest that you try testing with 11398. - Jim
For me, this was a memory allocation problem. I am using a private heap, and somewhere between build 11522 and 11700, the allocation for two large buffers was changed from calloc to speex_alloc (I am sure that this was a cleanup change, and I have not had a chance to locate it yet). This was overrunning my heap, and enlarging the heap solved the problem. I suspect that Itay is having a similar problem. - Jim ----- Original Message ----- From: "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca> To: "Jim Crichton" <jim.crichton@comcast.net> Cc: "Itay Chamiel" <ItayC@mangodsp.com>; <speex-dev@xiph.org> Sent: Tuesday, August 15, 2006 9:26 AM Subject: Re: [Speex-dev] AEC on a TI C6x - has no effect> Jim Crichton a ?crit : >> Itay, >> >> I tested on C6x in May with build 11343 and 11398, and it worked >> fine. I just ran the same test with build 11768, and there was no >> cancellation, just as you saw. I will try to track this down in the >> next day or two. In the meantime, I suggest that you try testing >> with 11398. > > Hmm, that's odd because the fixed-point seems to work for me and usually > the problems show up with the C55, but not the C64. The only two changes > I made to the AEC since 11398 were 11750 and 11751. Can you tell me > which one is problematic? > > Thanks, > > Jean-Marc > >> - Jim ----- Original Message ----- From: Itay Chamiel To: >> speex-dev@xiph.org Sent: Monday, August 14, 2006 10:56 AM Subject: >> RE: [Speex-dev] AEC on a TI C6x - has no effect >> >> >> Thanks to a tip from Jean-Marc, I tried the floating point version >> and it worked well. >> >> If anyone has a clue as to why the fixed point version doesn't work, >> let me know as I would really appreciate the CPU time reduction (20% >> as opposed to 70%). >> >> Thanks, >> >> -itay >> >> >> >> ------------------------------------------------------------------------------ >> >> >> >> _______________________________________________ Speex-dev mailing >> list Speex-dev@xiph.org >> http://lists.xiph.org/mailman/listinfo/speex-dev >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ Speex-dev mailing >> list Speex-dev@xiph.org >> http://lists.xiph.org/mailman/listinfo/speex-dev >
Itay Chamiel a ?crit :> Hi Jim, > > I've tried both 11343 and 11398 (after fixing a couple of compiler > errors) and annoyingly enough I get the same results as the current > build: float works, fixed doesn't. I also saw the same phenomenon where > the st->W and st->PHI arrays are all zeroes in fixed point mode. > > I'm still optimistic though, as you've seen the same problem I've seen.Check if Jim email solves the problem. Otherwise, can you test the trivial case where you send the same data for the mic and the echo? Does it cancel anything? Jean-Marc> Thanks, > > -itay > > ________________________________ > > From: Jim Crichton [mailto:jim.crichton@comcast.net] > Sent: Tuesday, August 15, 2006 3:39 PM > To: Itay Chamiel; speex-dev@xiph.org > Subject: Re: [Speex-dev] AEC on a TI C6x - has no effect > > > Itay, > > I tested on C6x in May with build 11343 and 11398, and it worked fine. > I just ran the same test with build 11768, and there was no > cancellation, just as you saw. I will try to track this down in the > next day or two. In the meantime, I suggest that you try testing with > 11398. > > - Jim > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >