mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-25 12:38:35 +00:00
remove aif support as it doesn't work
This commit is contained in:
parent
574c5285b9
commit
e483f4c3d3
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strudel/sampler",
|
"name": "@strudel/sampler",
|
||||||
"version": "0.0.10",
|
"version": "0.0.11",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tidalcycles",
|
"tidalcycles",
|
||||||
|
|||||||
@ -30,7 +30,7 @@ async function getFilesInDirectory(directory) {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const subFiles = (await getFilesInDirectory(fullPath)).filter((f) =>
|
const subFiles = (await getFilesInDirectory(fullPath)).filter((f) =>
|
||||||
['wav', 'mp3', 'ogg', 'aif'].includes(f.split('.').slice(-1)[0].toLowerCase()),
|
['wav', 'mp3', 'ogg'].includes(f.split('.').slice(-1)[0].toLowerCase()),
|
||||||
);
|
);
|
||||||
files = files.concat(subFiles);
|
files = files.concat(subFiles);
|
||||||
LOG && console.log(`${dirent.name} (${subFiles.length})`);
|
LOG && console.log(`${dirent.name} (${subFiles.length})`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user