breakfastquay / rubberband

Official mirror of Rubber Band Library, an audio time-stretching and pitch-shifting library.
http://breakfastquay.com/rubberband/
GNU General Public License v2.0
581 stars 93 forks source link

Running on embedded devices? #110

Open david-res opened 1 week ago

david-res commented 1 week ago

Would this library be able to run on an embedded MCU such as an STM32F7 or an NXP iMXRT1060? I'm looking to do live time stretching of audio with key lock from a wav file playing off an SD card.

I can currently play audio and change the tempo, but can't lock the pitch

cannam commented 1 week ago

I don't think so. As I recall, it was (just) possible to get it running a stereo stream in real-time on the iPhone 4 / Galaxy S era of phones, being roughly 1GHz Cortex A8 including NEON instructions. I think that is significantly more powerful than what you're describing?

david-res commented 1 week ago

Yeah, the chips I mentioned use M7 Cortex cores running at up to 600Mhz, so if it barely cut's it on an A8, then these are defiantly not up to the task Thanks!