Vital
Loading...
Searching...
No Matches
memory.h File Reference

Declares classes for time-domain memory storage and retrieval with cubic interpolation. More...

#include "common.h"
#include <algorithm>
#include <cmath>
#include <memory>
#include "poly_utils.h"

Go to the source code of this file.

Classes

class  vital::MemoryTemplate< kChannels >
 A template for a memory buffer that stores time-domain samples for one or more channels. More...
 
class  vital::Memory
 A specialized MemoryTemplate for poly_float::kSize channels. More...
 
class  vital::StereoMemory
 A specialized MemoryTemplate for two-channel (stereo) audio. More...
 

Namespaces

namespace  vital
 Contains classes and functions used within the Vital synthesizer framework.
 

Detailed Description

Declares classes for time-domain memory storage and retrieval with cubic interpolation.

The Memory and StereoMemory classes store a history of samples in a ring buffer and allow retrieval of past samples using cubic interpolation. They are used to implement audio feedback loops, delays, or other time-domain manipulations efficiently.