LEAF
LEAF copied to clipboard
documentation
make examples for each object
list objects and their inputs/functions (maybe this is part of moving to Doxygen)
reorder objects within their files to put common ones first (neuron should not be first in oscillators!)
more credits! need to credit where we took things from (stk, mda, pitchshift)
Hi, is there any progress on these examples? There seems to be all of the components to a great framework without much indication on how it is intended to be used.
Yep we just got back into it. Well add new examples soon :) On Tue, Jan 18, 2022 at 8:36 AM bigpapo @.***> wrote:
Hi, is there any progress on these examples? There seems to be all of the components to a great framework without much indication on how it is intended to be used.
— Reply to this email directly, view it on GitHub https://github.com/spiricom/LEAF/issues/4#issuecomment-1015418994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGAY7FQC5BXDXC2SHHRUWDUWVUFXANCNFSM4INGDEGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
-- Composer, musician, instrument designer scattershot.org * @snyderphonics
Hi, Thanks for this nice yet powerful library. Any news on examples specially how to use effects like reverb and others? Really excited to use the library but a bit confused. Please let us know. Thanks,
Thanks for a fun library! Any progress on this? @spiricom It's a little bit mysterious. Take an example where I'm trying to get tPitchDetector to work (using JUCE):
Constructor
#define MEM_SIZE 1000000
char myMemory[MEM_SIZE];
LEAF_init(&leaf, sampleRate, myMemory, MEM_SIZE, &randomNumberz);
tPitchDetector_init(&leafDetector, 80.0f, 5000.0f, &leaf);
tPitchDetector_setSampleRate(&leafDetector, sampleRate);
tPitchDetector_setHysteresis(&leafDetector, -40.0f); // Tried different
processBlock
const float* inPointerL = buffer.getReadPointer(0);
for (int samp = 0; samp < buffer.getNumSamples(); ++samp)
{
tPitchDetector_tick(&leafDetector, inPointerL[samp]);
}
currentPitch = tPitchDetector_getFrequency(&leafDetector);
predPitch = tPitchDetector_predictFrequency(&leafDetector);
period = tPitchDetector_getPeriodicity(&leafDetector);
Returns all zeroes. Could you please tell me what I'm doing wrong?