Skip to content

Delay Effect #154

Answered by jmtalbert
jmtalbert asked this question in Q&A
Discussion options

You must be logged in to vote

Found a fix that got the Delay going in the file scr/AudioTools/Buffers.h

Under class RingBuffer you had
virtual T read(){
if (isEmpty())
return -1;

        uint8_t value = _aucBuffer[_iTail];
        _iTail = nextIndex(_iTail);
        _numElems--;

        return value;
    }

I replaced "uint8_t" with "T" and started getting about a one second delay.
However, the delay duration is not changing. The depth or percent is changing fine.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants