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:
parent
b08a0b8102
commit
35ef26c013
4 changed files with 39 additions and 34 deletions
|
|
@ -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 });
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue