@open-audio-stack/core 0.1.2 → 0.1.3
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.
|
@@ -10,6 +10,7 @@ import { PresetType } from '../types/PresetType.js';
|
|
|
10
10
|
import { ProjectFormat } from '../types/ProjectFormat.js';
|
|
11
11
|
import { ProjectType } from '../types/ProjectType.js';
|
|
12
12
|
import { SystemType } from '../types/SystemType.js';
|
|
13
|
+
import { PluginCategoryEffect, PluginCategoryInstrument } from '../types/PluginCategory.js';
|
|
13
14
|
export declare class Config {
|
|
14
15
|
config: ConfigInterface;
|
|
15
16
|
constructor(config?: ConfigInterface);
|
|
@@ -24,6 +25,10 @@ export declare class Config {
|
|
|
24
25
|
fileTypes(): import("../types/FileType.js").FileTypeOption[];
|
|
25
26
|
license(type: License): import("../types/License.js").LicenseOption;
|
|
26
27
|
licenses(): import("../types/License.js").LicenseOption[];
|
|
28
|
+
pluginCategoryEffect(effect: PluginCategoryEffect): import("../types/PluginCategory.js").PluginCategoryOption;
|
|
29
|
+
pluginCategoryEffects(): import("../types/PluginCategory.js").PluginCategoryOption[];
|
|
30
|
+
pluginCategoryInstrument(instrument: PluginCategoryInstrument): import("../types/PluginCategory.js").PluginCategoryOption;
|
|
31
|
+
pluginCategoryInstruments(): import("../types/PluginCategory.js").PluginCategoryOption[];
|
|
27
32
|
pluginFormat(format: PluginFormat): import("../types/PluginFormat.js").PluginFormatOption;
|
|
28
33
|
pluginFormats(): import("../types/PluginFormat.js").PluginFormatOption[];
|
|
29
34
|
pluginType(type: PluginType): import("../types/PluginType.js").PluginTypeOption;
|
package/build/classes/Config.js
CHANGED
|
@@ -10,6 +10,7 @@ import { presetTypes } from '../types/PresetType.js';
|
|
|
10
10
|
import { projectFormats } from '../types/ProjectFormat.js';
|
|
11
11
|
import { projectTypes } from '../types/ProjectType.js';
|
|
12
12
|
import { systemTypes } from '../types/SystemType.js';
|
|
13
|
+
import { pluginCategoryEffects, pluginCategoryInstruments, } from '../types/PluginCategory.js';
|
|
13
14
|
export class Config {
|
|
14
15
|
config;
|
|
15
16
|
constructor(config) {
|
|
@@ -52,6 +53,18 @@ export class Config {
|
|
|
52
53
|
return licenses;
|
|
53
54
|
}
|
|
54
55
|
// Plugin formats and types.
|
|
56
|
+
pluginCategoryEffect(effect) {
|
|
57
|
+
return pluginCategoryEffects.filter(pluginCategoryEffect => effect === pluginCategoryEffect.value)[0];
|
|
58
|
+
}
|
|
59
|
+
pluginCategoryEffects() {
|
|
60
|
+
return pluginCategoryEffects;
|
|
61
|
+
}
|
|
62
|
+
pluginCategoryInstrument(instrument) {
|
|
63
|
+
return pluginCategoryInstruments.filter(pluginCategoryInstrument => instrument === pluginCategoryInstrument.value)[0];
|
|
64
|
+
}
|
|
65
|
+
pluginCategoryInstruments() {
|
|
66
|
+
return pluginCategoryInstruments;
|
|
67
|
+
}
|
|
55
68
|
pluginFormat(format) {
|
|
56
69
|
return pluginFormats.filter(pluginFormat => format === pluginFormat.value)[0];
|
|
57
70
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum PluginCategoryEffect {
|
|
2
|
+
Chorus = "chorus",
|
|
3
|
+
Compression = "compression",
|
|
4
|
+
Eq = "eq",
|
|
5
|
+
Filter = "filter",
|
|
6
|
+
Reverb = "reverb"
|
|
7
|
+
}
|
|
8
|
+
export declare enum PluginCategoryInstrument {
|
|
9
|
+
Drums = "drums",
|
|
10
|
+
Guitar = "guitar",
|
|
11
|
+
Keys = "keys",
|
|
12
|
+
Orchestral = "orchestral",
|
|
13
|
+
Samplers = "samplers",
|
|
14
|
+
Synths = "synths",
|
|
15
|
+
Vocals = "vocals"
|
|
16
|
+
}
|
|
17
|
+
export interface PluginCategoryOption {
|
|
18
|
+
description: string;
|
|
19
|
+
value: PluginCategoryEffect | PluginCategoryInstrument;
|
|
20
|
+
name: string;
|
|
21
|
+
tags: string[];
|
|
22
|
+
}
|
|
23
|
+
export declare const pluginCategoryEffects: PluginCategoryOption[];
|
|
24
|
+
export declare const pluginCategoryInstruments: PluginCategoryOption[];
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export var PluginCategoryEffect;
|
|
2
|
+
(function (PluginCategoryEffect) {
|
|
3
|
+
PluginCategoryEffect["Chorus"] = "chorus";
|
|
4
|
+
PluginCategoryEffect["Compression"] = "compression";
|
|
5
|
+
PluginCategoryEffect["Eq"] = "eq";
|
|
6
|
+
PluginCategoryEffect["Filter"] = "filter";
|
|
7
|
+
PluginCategoryEffect["Reverb"] = "reverb";
|
|
8
|
+
})(PluginCategoryEffect || (PluginCategoryEffect = {}));
|
|
9
|
+
export var PluginCategoryInstrument;
|
|
10
|
+
(function (PluginCategoryInstrument) {
|
|
11
|
+
PluginCategoryInstrument["Drums"] = "drums";
|
|
12
|
+
PluginCategoryInstrument["Guitar"] = "guitar";
|
|
13
|
+
PluginCategoryInstrument["Keys"] = "keys";
|
|
14
|
+
PluginCategoryInstrument["Orchestral"] = "orchestral";
|
|
15
|
+
PluginCategoryInstrument["Samplers"] = "samplers";
|
|
16
|
+
PluginCategoryInstrument["Synths"] = "synths";
|
|
17
|
+
PluginCategoryInstrument["Vocals"] = "vocals";
|
|
18
|
+
})(PluginCategoryInstrument || (PluginCategoryInstrument = {}));
|
|
19
|
+
export const pluginCategoryEffects = [
|
|
20
|
+
{
|
|
21
|
+
description: 'Spatial movement and modulation.',
|
|
22
|
+
value: PluginCategoryEffect.Chorus,
|
|
23
|
+
name: 'Chorus/Phaser',
|
|
24
|
+
tags: ['Chorus', 'Phaser'],
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
description: 'Shape dynamics, grit and amplification.',
|
|
28
|
+
value: PluginCategoryEffect.Compression,
|
|
29
|
+
name: 'Compression/Distortion',
|
|
30
|
+
tags: ['Compression', 'Distortion', 'Amplifier', 'Amp'],
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
description: 'Balance frequencies and position sounds in the stereo field.',
|
|
34
|
+
value: PluginCategoryEffect.Eq,
|
|
35
|
+
name: 'EQ/Pan',
|
|
36
|
+
tags: ['EQ', 'Equalizer', 'Pan'],
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
description: 'Adjust tone and sculpt frequencies.',
|
|
40
|
+
value: PluginCategoryEffect.Filter,
|
|
41
|
+
name: 'Filter',
|
|
42
|
+
tags: ['Filter'],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: 'Create depth with echoes, ambience, and space.',
|
|
46
|
+
value: PluginCategoryEffect.Reverb,
|
|
47
|
+
name: 'Reverb/Delay',
|
|
48
|
+
tags: ['Reverb', 'Delay'],
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
export const pluginCategoryInstruments = [
|
|
52
|
+
{
|
|
53
|
+
description: '',
|
|
54
|
+
value: PluginCategoryInstrument.Drums,
|
|
55
|
+
name: 'Drums',
|
|
56
|
+
tags: ['Drums', 'Percussion'],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
description: '',
|
|
60
|
+
value: PluginCategoryInstrument.Guitar,
|
|
61
|
+
name: 'Guitar',
|
|
62
|
+
tags: ['Guitar', 'String'],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
description: '',
|
|
66
|
+
value: PluginCategoryInstrument.Keys,
|
|
67
|
+
name: 'Keys',
|
|
68
|
+
tags: ['Keys', 'Piano'],
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
description: '',
|
|
72
|
+
value: PluginCategoryInstrument.Orchestral,
|
|
73
|
+
name: 'Orchestral',
|
|
74
|
+
tags: ['Orchestral', 'Orchestra', 'Strings', 'Woodwind', 'Brass'],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
description: '',
|
|
78
|
+
value: PluginCategoryInstrument.Samplers,
|
|
79
|
+
name: 'Samplers',
|
|
80
|
+
tags: ['Samplers', 'Sampler', 'Sample'],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
description: '',
|
|
84
|
+
value: PluginCategoryInstrument.Synths,
|
|
85
|
+
name: 'Synths',
|
|
86
|
+
tags: ['Synths', 'Synth', 'Synthesizer'],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
description: '',
|
|
90
|
+
value: PluginCategoryInstrument.Vocals,
|
|
91
|
+
name: 'Vocals',
|
|
92
|
+
tags: ['Vocals'],
|
|
93
|
+
},
|
|
94
|
+
];
|
|
@@ -31,61 +31,61 @@ export const projectFormats = [
|
|
|
31
31
|
{
|
|
32
32
|
description: 'Used to store all information about a Live set.',
|
|
33
33
|
value: ProjectFormat.AbletonLive,
|
|
34
|
-
name: 'Ableton Live
|
|
34
|
+
name: 'Ableton Live',
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
description: 'Containing all Bitwig project-related information.',
|
|
38
38
|
value: ProjectFormat.Bitwig,
|
|
39
|
-
name: 'Bitwig
|
|
39
|
+
name: 'Bitwig',
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
description: 'Used to save Steinberg Cubase arrangements and settings.',
|
|
43
43
|
value: ProjectFormat.Cubase,
|
|
44
|
-
name: 'Cubase
|
|
44
|
+
name: 'Cubase',
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
description: 'Open standard for storing various audio project settings.',
|
|
48
48
|
value: ProjectFormat.DAWproject,
|
|
49
|
-
name: 'DAWproject
|
|
49
|
+
name: 'DAWproject',
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
description: 'Used for saving FL Studio compositions and arrangements.',
|
|
53
53
|
value: ProjectFormat.FLStudio,
|
|
54
|
-
name: 'FL Studio
|
|
54
|
+
name: 'FL Studio',
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
description: 'A package containing audio files and Garageband timeline and settings.',
|
|
58
58
|
value: ProjectFormat.Garageband,
|
|
59
|
-
name: 'Garageband
|
|
59
|
+
name: 'Garageband',
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
description: 'Music project for open-source, cross-platform software.',
|
|
63
63
|
value: ProjectFormat.Lmms,
|
|
64
|
-
name: 'LMMS
|
|
64
|
+
name: 'LMMS',
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
description: "Containing all Apple's Logic Pro audio, MIDI, and arrangement data.",
|
|
68
68
|
value: ProjectFormat.Logic,
|
|
69
|
-
name: 'Logic Pro
|
|
69
|
+
name: 'Logic Pro',
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
description: 'Compressed Musescore project along with metadata and image preview.',
|
|
73
73
|
value: ProjectFormat.Musescore,
|
|
74
|
-
name: 'Musescore
|
|
74
|
+
name: 'Musescore',
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
description: 'Used for Avid Pro Tools audio recording and production.',
|
|
78
78
|
value: ProjectFormat.ProTools,
|
|
79
|
-
name: 'Pro Tools
|
|
79
|
+
name: 'Pro Tools',
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
description: 'Containing Reaper tracks, arrangements, and settings.',
|
|
83
83
|
value: ProjectFormat.Reaper,
|
|
84
|
-
name: 'Reaper
|
|
84
|
+
name: 'Reaper',
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
description: 'Used for Cakewalk Sonar music production and audio editing.',
|
|
88
88
|
value: ProjectFormat.Sonar,
|
|
89
|
-
name: 'Sonar
|
|
89
|
+
name: 'Sonar',
|
|
90
90
|
},
|
|
91
91
|
];
|