TinySoundFont icon indicating copy to clipboard operation
TinySoundFont copied to clipboard

Using cc7 & cc11 - glitchy playback

Open hudsonm4000 opened this issue 1 year ago • 2 comments

Hi I am using example3.c to test TSF's ability to handle cc7 & cc11 controllers. Both work but I get a glitchy playback, as if there is an audio buffer size problem. If it is a buffer size issue, where can I look to try different sizes?

Many thanks Mark

hudsonm4000 avatar Aug 07 '24 08:08 hudsonm4000

Maybe see SampleBlock and TSF_RENDER_EFFECTSAMPLEBLOCK.

BLumia avatar Aug 10 '24 06:08 BLumia

Getting the same weird glitchy playback while on WebAudio, using stereo it's very glitchy. On MONO it's perfectly fine.

Code: https://pastes.dev/XtqMt32lzQ To build: emcc -std=c++11 -lembind -s ALLOW_MEMORY_GROWTH -s EXPORTED_FUNCTIONS="['_malloc', '_free']" -s AUDIO_WORKLET=1 -s WASM_WORKERS=1 --emit-tsd audioengine.ts.d -o build/audioengine.js audioengine.cpp

To use: https://pastes.dev/HxlE9hAD9Y

fucksophie avatar Dec 27 '24 14:12 fucksophie