Faster load times
All checks were successful
Check & deploy / build (push) Successful in 1m15s

This commit is contained in:
Andras Schmelczer 2026-06-11 21:24:34 +01:00
commit 2f03e07e67

View file

@ -156,8 +156,10 @@ const main = async () => {
}
});
// Samples load before Start is enabled so the first audible piano note
// always uses the sampler. The Start tap still unlocks the AudioContext.
// Only the core velocity layer loads before Start is enabled so the first
// audible piano note always uses the sampler; the remaining layers and
// release samples stream in the background. The Start tap still unlocks
// the AudioContext.
splash.showLoadingBar();
const fontsReady = document.fonts.ready.catch((error) => {
ErrorHandler.addException(error, {