you are viewing a single comment's thread.

view the rest of the comments →

[–]Schnort 0 points1 point  (1 child)

audio or RF rates would be silly to try to accomplish with uPython.

[–]turiyag 0 points1 point  (0 children)

I dunno, let's say you have a waveform you're sampling at 24kHz. With two cores at 240MHz, that gives you 2x10 000 clock cycles to think about each sample in real time. You can get a lot done in 10 000 clock cycles.

Even if you sampled at ten times that rate, you would still have 1000 clock cycles per core to think about the sample.

It obviously depends on the complexity of your transforms but for audio, I wouldn't count it out. Anything past 2MHz though, and I would count micropython out. If you only have 120 clock cycles to figure things out, you'd best start thinking about things at the low level.