shithub: leaf

Download patch

ref: 39c4d6f4ca1987f4cb1d4805e56a64d041be4179
parent: 8fa6f230775bf0c036441bf7d5d941e2312709dc
author: Jeff Snyder <jeff@snyderphonics.com>
date: Sat Feb 15 19:53:54 EST 2020

Update README.md

--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@
 
 All LEAF objects must have an init() function and a free() function -- these will create the objects inside the default mempool, as well as an initToPool() and freeFromPool() function -- these will create the objects inside a user-defined specific mempool that is not the default. 
 
-
+LEAF objects assume that they will be "ticked" once per sample, and generally take single sample input and produce single sample output. The alternative would be to have the user pass in an array and have the objects operate on the full array, which could have performance advantages if SIMD instructions are available on the processor, but would have disadvantages in flexibility of use. If an audio object requires some kind of buffer to operate on (such as a pitch detector) it will collect samples in it's sample-by-sample tick function and store them in its own internal buffer. 
 ////