Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Multichannel/multitap-delay/render.cpp

Multichannel Multitap Delay

This example takes the input from one channel (channel 0 by default) and generates a multitap-delay version on which the main tap is output on the same number channel as the selected input while the remaining taps are randomly assigned on setup to each of the remaining output channels.

GUI sliders are provided to control Wet/Dry mix, Feedback and Delay Time for each tap.

Delay values from the GUI sliders are filtered using 1-pole LP filters to ensure smooth changes. The delay line uses linear interpolation for the read pointers by default so some artifacts are still expected.