Can anyone recommend a good resampling lib? I need to handle rather small buffers (100s of Ks of signed 16 bits) but also really long streams, often covering 24+ hours @250sps, so speed is important. BTW, tipically I'll be downsampling from 250sps to 200sps, but there will be other scenarios within the range 100sps <= In/Out sampling freq <= 5000sps. TIA, Ronaldo
Resampling libs
Started by ●August 16, 2010
Reply by ●August 16, 20102010-08-16
Ronaldo Souza wrote:> Can anyone recommend a good resampling lib?Do it yourself. No big deal. A project for one day.> I need to handle rather > small buffers (100s of Ks of signed 16 bits) but also really long > streams, often covering 24+ hours @250sps, so speed is important.24 hours @ 250 sps ~ 2M samples. That's nothing; no need to worry about speed.> BTW, tipically I'll be downsampling from 250sps to 200sps, but there > will be other scenarios within the range 100sps <= In/Out sampling freq > <= 5000sps.What is this for, if not a secret? Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com
Reply by ●August 16, 20102010-08-16
On 08/16/2010 10:58 AM, Ronaldo Souza wrote:> Can anyone recommend a good resampling lib? I need to handle rather > small buffers (100s of Ks of signed 16 bits) but also really long > streams, often covering 24+ hours @250sps, so speed is important. > > BTW, tipically I'll be downsampling from 250sps to 200sps, but there > will be other scenarios within the range 100sps<= In/Out sampling freq > <= 5000sps.Search on "Secret Rabbit Code". -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" was written for you. See details at http://www.wescottdesign.com/actfes/actfes.html
Reply by ●August 16, 20102010-08-16
> Vladimir Vassilevsky wrote: > > Ronaldo Souza wrote: > > Can anyone recommend a good resampling lib? > > Do it yourself. No big deal. A project for one day.If I knew how to do it, I wouldn't waste the group's time, would I? Regards, Ronaldo
Reply by ●August 16, 20102010-08-16
> Tim Wescott wrote: > > Search on "Secret Rabbit Code".Thanks, Tim. <googling..> :) Regards, Ronaldo
Reply by ●August 16, 20102010-08-16
On 8/16/2010 11:51 AM, Ronaldo Souza wrote:>> Vladimir Vassilevsky wrote: >>> Ronaldo Souza wrote: >>> Can anyone recommend a good resampling lib? >> >> Do it yourself. No big deal. A project for one day. > > > If I knew how to do it, I wouldn't waste the group's time, would I? > > Regards, > RonaldoAnd unfortunately, if you don't you'll wind up misapplying any library you can find. Theory/foundations first, code second. -- Rob Gaddi, Highland Technology Email address is currently out of order
Reply by ●August 16, 20102010-08-16
Ronaldo Souza wrote:>>Vladimir Vassilevsky wrote: >> >>>Ronaldo Souza wrote: >>>Can anyone recommend a good resampling lib? >> >>Do it yourself. No big deal. A project for one day. > > > > If I knew how to do it, I wouldn't waste the group's time, would I?Don't waste your time; this is not a place where they serve free lunch.
Reply by ●August 16, 20102010-08-16
> Rob Gaddi wrote: > And unfortunately, if you don't you'll wind up misapplying any > library you can find. Theory/foundations first, code second.I'm the first to say I'd have to have some time to really understand this stuff, but the powers that be think otherwise. :( Regards, Ronaldo
Reply by ●August 16, 20102010-08-16
> Vladimir Vassilevsky wrote: > Don't waste your time; this is not a place where they serve free > lunch.ok. Rgds, Ronaldo
Reply by ●August 16, 20102010-08-16
On 08/16/2010 12:23 PM, Ronaldo Souza wrote:>> Rob Gaddi wrote: >> And unfortunately, if you don't you'll wind up misapplying any >> library you can find. Theory/foundations first, code second. > > > I'm the first to say I'd have to have some time to really understand > this stuff, but the powers that be think otherwise. :(Applying a library like Secret Rabbit Code blindly may work, and it may not. If it does work, you're lucky. If it doesn't work, and it breaks in the lab, you're a lot more lucky than if it breaks all over a customer. So try it, test the heck out of it, and keep your fingers crossed. There's quite a few regulars in this group that consult; if it breaks in a way that convinces the powers that be that it needs a fix in a hurry you've got some experts available to trade money for fixes. Or you can ask all the background questions, and we'll help you get through it slowly. Get Rick Lyons's book ("Understanding Digital Signal Processing"). If you can get through it fast enough then maybe by the time the algorithm breaks you'll know why and can fix it. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" was written for you. See details at http://www.wescottdesign.com/actfes/actfes.html