Reverb Unit Code
This is an article that presents a MaxMSP patch that was created to demonstrate how to develop a DSP reverberation algorithm.
The patch is in .maxpat format, which means that you will need to install MaxMSP/Jitter in your computer to open the file. As you see in the following screenshot, there is a sampler that allows you to open an audio file (.wav, .aiff), store it in a buffer and reproduce it while it is being processed by the reverberation algorithm. This algorithm presents the fundamentals of applying a series of delays to create a reverberation effect.