Hey, I'm fairly new to the concepts around block size, so this may be an entry level discussion.
I'm working a pd patch, essentially attempting to make a modal polysynth/vocoder.
It takes input "exciter" signals (external audio, noise and oscillators), runs them through a fft-filter (copied from the example 3.8.2.1 Filters http://www.pd-tutorial.com/english/ch03s08.html) and then runs them through a pitched-feedback delay (Karplus).
It uses the following patches:
_main.pd - patch with analog-in controls and an 8 voice poly synth structure. default block size.
Karplus - an abstraction that runs "exciters" through fft-filters and a pitched feedback loop. default block size.
FFT-analyse - a fft-filter abstraction (pictured) which uses a block size of 512 with 4 overlaps [block~ 512 4]
The patch works fine on a computer but has underruns and disconnects when running it on the bela. I've tried changing the Bela settings to a number of different block sizes including 64, 128, 512, 1024 (just taking shots in the dark) also playing with block size on the pd patches but I get 'bad vector size', 'overrun detected' or 'The sample rate of analog and audio must match. Try running with --uniform-sample-rate'. I tried putting --uniform-sample-rate in the command line arguments too, but no luck.
What should I try next here?
Thanks!