Skip to content

OfflineAudioContext tail time when rendering a reverb effect #2557

Answered by chrisguttandin
arturogalan asked this question in Q&A
Discussion options

You must be logged in to vote

You would probably need to increase the length of your OfflineAudioContext by the number of samples of the tail time.

new OfflineAudioContext({
    length: decodedBuffer.length + TAIL_TIME_IN_SAMPLES,
    numberOfChannels: decodedBuffer.numberOfChannels,
    sampleRate: decodedBuffer.sampleRate
});

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by padenot
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