fix soundfonts + samples without base
This commit is contained in:
parent
4e282dac5b
commit
720b1eeb27
2 changed files with 17 additions and 6 deletions
|
|
@ -93,7 +93,7 @@ export const loadGithubSamples = async (path, nameFn) => {
|
|||
*
|
||||
*/
|
||||
|
||||
export const samples = (sampleMap, baseUrl = sampleMap._base) => {
|
||||
export const samples = (sampleMap, baseUrl = sampleMap._base || '') => {
|
||||
sampleCache.current = {
|
||||
...sampleCache.current,
|
||||
...Object.fromEntries(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue