@open-audio-stack/core 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,7 @@ export declare class Manager extends Base {
|
|
|
13
13
|
filter(method: (pkgVersion: PackageVersion, pkg: Package) => boolean): Package[];
|
|
14
14
|
getPackage(slug: string): Package | undefined;
|
|
15
15
|
getReport(): any;
|
|
16
|
-
listPackages(): Package[];
|
|
16
|
+
listPackages(installed?: boolean): Package[];
|
|
17
17
|
removePackage(slug: string): void;
|
|
18
18
|
reset(): void;
|
|
19
19
|
search(query: string): Package[];
|
package/build/classes/Manager.js
CHANGED
|
@@ -44,7 +44,18 @@ export class Manager extends Base {
|
|
|
44
44
|
}
|
|
45
45
|
return reports;
|
|
46
46
|
}
|
|
47
|
-
listPackages() {
|
|
47
|
+
listPackages(installed) {
|
|
48
|
+
if (installed !== undefined) {
|
|
49
|
+
const packagesFiltered = [];
|
|
50
|
+
Array.from(this.packages.values()).forEach(pkg => {
|
|
51
|
+
Array.from(pkg.versions.values()).forEach(pkgVersion => {
|
|
52
|
+
if ((installed === true && pkgVersion.installed) || (installed === false && !pkgVersion.installed)) {
|
|
53
|
+
packagesFiltered.push(pkg);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
return packagesFiltered;
|
|
58
|
+
}
|
|
48
59
|
return Array.from(this.packages.values());
|
|
49
60
|
}
|
|
50
61
|
removePackage(slug) {
|
|
@@ -2,6 +2,7 @@ export declare enum PluginFormat {
|
|
|
2
2
|
AudioUnits = "component",
|
|
3
3
|
AvidAudioExtension = "aax",
|
|
4
4
|
CleverAudioPlugin = "clap",
|
|
5
|
+
JesuSonicPlugin = "jsfx",
|
|
5
6
|
LADSPAVersion2 = "lv2",
|
|
6
7
|
LinuxStandalone = "elf",
|
|
7
8
|
MacStandalone = "app",
|
|
@@ -23,5 +24,6 @@ export interface PluginFormatOption {
|
|
|
23
24
|
description: string;
|
|
24
25
|
value: PluginFormat;
|
|
25
26
|
name: string;
|
|
27
|
+
players?: string[];
|
|
26
28
|
}
|
|
27
29
|
export declare const pluginFormats: PluginFormatOption[];
|
|
@@ -3,6 +3,7 @@ export var PluginFormat;
|
|
|
3
3
|
PluginFormat["AudioUnits"] = "component";
|
|
4
4
|
PluginFormat["AvidAudioExtension"] = "aax";
|
|
5
5
|
PluginFormat["CleverAudioPlugin"] = "clap";
|
|
6
|
+
PluginFormat["JesuSonicPlugin"] = "jsfx";
|
|
6
7
|
PluginFormat["LADSPAVersion2"] = "lv2";
|
|
7
8
|
PluginFormat["LinuxStandalone"] = "elf";
|
|
8
9
|
PluginFormat["MacStandalone"] = "app";
|
|
@@ -20,6 +21,7 @@ export const pluginFormatDir = {
|
|
|
20
21
|
[PluginFormat.AudioUnits]: 'Components',
|
|
21
22
|
[PluginFormat.AvidAudioExtension]: 'Avid',
|
|
22
23
|
[PluginFormat.CleverAudioPlugin]: 'Clap',
|
|
24
|
+
[PluginFormat.JesuSonicPlugin]: 'Jsfx',
|
|
23
25
|
[PluginFormat.LADSPAVersion2]: 'Lv2',
|
|
24
26
|
[PluginFormat.LinuxStandalone]: 'Elf',
|
|
25
27
|
[PluginFormat.MacStandalone]: 'App',
|
|
@@ -50,9 +52,10 @@ export const pluginFormats = [
|
|
|
50
52
|
name: 'Clever Audio Plugin',
|
|
51
53
|
},
|
|
52
54
|
{
|
|
53
|
-
description:
|
|
54
|
-
value: PluginFormat.
|
|
55
|
-
name: '
|
|
55
|
+
description: 'Simple text files which become full featured plug-ins when loaded.',
|
|
56
|
+
value: PluginFormat.JesuSonicPlugin,
|
|
57
|
+
name: 'Jesusonic Plugin',
|
|
58
|
+
players: ['joepvanlier/ysfx'],
|
|
56
59
|
},
|
|
57
60
|
{
|
|
58
61
|
description: 'Linux-friendly plugin format primarily used in open-source environments.',
|
|
@@ -69,15 +72,22 @@ export const pluginFormats = [
|
|
|
69
72
|
value: PluginFormat.MacStandalone,
|
|
70
73
|
name: 'MacOS Standalone',
|
|
71
74
|
},
|
|
75
|
+
{
|
|
76
|
+
description: "Real-time plugin format used in Avid's Pro Tools.",
|
|
77
|
+
value: PluginFormat.RealTimeAudioSuite,
|
|
78
|
+
name: 'Real-Time AudioSuite',
|
|
79
|
+
},
|
|
72
80
|
{
|
|
73
81
|
description: 'An open standard for defining instrument patches and sound samples.',
|
|
74
82
|
value: PluginFormat.SFZ,
|
|
75
83
|
name: 'SFZ',
|
|
84
|
+
players: ['sfztools/sfizz'],
|
|
76
85
|
},
|
|
77
86
|
{
|
|
78
87
|
description: 'Widely used format for sound samples in musical instruments.',
|
|
79
88
|
value: PluginFormat.SoundFont2,
|
|
80
89
|
name: 'SoundFont 2',
|
|
90
|
+
players: ['birch-san/juicysfplugin'],
|
|
81
91
|
},
|
|
82
92
|
{
|
|
83
93
|
description: 'Legacy plugin format used in early Pro Tools systems.',
|