Skip to content

A quick implementation of a circular buffer in C++, done in JUCE. For testing purposes.

Notifications You must be signed in to change notification settings

JohannesRgnr/Efficient-Circular-Buffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Efficient Circular Buffer

A simple (and efficient) implementation of a circular buffer. Implemented using JUCE, as as simple mono delay plugin. Buffer size must be a power of 2. Based on bitwise AND instead of modulo or branching. Ref. https://homepage.cs.uiowa.edu/~jones/bcd/mod.shtml#exmod2

Interpolation methods for reading values out of the buffer:

  • no interpolation
  • linear
  • cubic
  • Hermite

Ref. https://www.musicdsp.org/en/latest/Other/93-hermite-interpollation.html

https://paulbourke.net/miscellaneous/interpolation/

About

A quick implementation of a circular buffer in C++, done in JUCE. For testing purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages