can now pass meta data to setSound

+ added types for synth and sample
+ list sample count for samples in sounds tab (as before)
This commit is contained in:
Felix Roos 2023-03-07 21:43:01 +01:00
parent b08a0b8102
commit 35ef26c013
4 changed files with 39 additions and 34 deletions

View file

@ -149,7 +149,7 @@ export const samples = async (sampleMap, baseUrl = sampleMap._base || '') => {
}),
);
}
setSound(key, (options) => onTriggerSample(options, value));
setSound(key, (options) => onTriggerSample(options, value), { type: 'sample', samples: value });
});
};