u-he-preset-randomizer
Version:
Create random u-he synth presets through randomization and merging of your existing presets.
10 lines (9 loc) • 554 B
TypeScript
/**
* @file Preset library filtering utilities.
* Provides functions to filter presets by category, author, and favorites.
*/
import type { Preset } from './parser.js';
import type { PresetLibrary } from './presetLibrary.js';
export declare function narrowDownByCategory(presetLibrary: PresetLibrary, category: string): Preset[];
export declare function narrowDownByAuthor(presetLibrary: PresetLibrary, author: string): Preset[];
export declare function narrowDownByFavoritesFile(presetLibrary: PresetLibrary, favorites: string | string[]): Preset[];