Aidan
Aidan
DIAdiscord.js - Imagine an app
Created by Aidan on 6/1/2024 in #djs-voice
Possible to modify buffer as it is streaming?
I'm creating a bot to play a preset library of sound effects. Currently only 1 sound effect can be played at a time. My desired behavior is to: - Combine the buffers of two sound effects so that they overlap, with the 2nd sound effect being overlaid at the current playhead position of the first - Begin playing this new buffer instead of the old one, without stopping playback Is this possible? Is there a way to handle each chunk of the stream manually? Thanks
6 replies