This commit is contained in:
Jade (Rose) Rowland
2025-11-01 01:32:24 -04:00
parent 484c5e6cdd
commit f38792c569
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -349,6 +349,7 @@ export async function onTriggerSample(t, value, onended, bank, resolveUrl) {
}
function registerSample(key, bank, params) {
console.info({ key, bank });
registerSound(key, (t, hapValue, onended) => onTriggerSample(t, hapValue, onended, bank), {
type: 'sample',
samples: bank,
+1 -1
View File
@@ -92,7 +92,7 @@ export function registerSamplesFromDB(config = userSamplesDBConfig, onComplete =
async function blobToDataUrl(blob) {
return new Promise((resolve) => {
resolve(URL.createObjectURL(blob))
resolve(URL.createObjectURL(blob));
});
}