fix: hashes in urls
This commit is contained in:
parent
daf965f119
commit
444d583a49
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ export const getSampleBufferSource = async (s, n, note, speed, freq, bank, resol
|
|||
|
||||
export const loadBuffer = (url, ac, s, n = 0) => {
|
||||
const label = s ? `sound "${s}:${n}"` : 'sample';
|
||||
url = url.replace('#', '%23');
|
||||
if (!loadCache[url]) {
|
||||
logger(`[sampler] load ${label}..`, 'load-sample', { url });
|
||||
const timestamp = Date.now();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue