// ported from Feishin https://github.com/jeffvli/feishin export const EQ_FREQUENCIES = [ 31, 62, 125, 250, 500, 1000, 2000, 4000, 8000, 16000, ]; export const EQ_Q = 1; export const EQ_MIN_DB = -12; export const EQ_MAX_DB = 12; export const EQ_PRESETS: { id: string; label: string; gains: readonly number[]; preamp: number; }[] = [ { id: "flat", label: "Flat", gains: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], preamp: 0, }, { id: "rock", label: "Rock", gains: [5, 4, 3, 1, -1, -1, 0, 2, 3, 3], preamp: -3, }, { id: "pop", label: "Pop", gains: [-1, 0, 2, 4, 4, 3, 1, 0, -1, -1], preamp: -2, }, { id: "jazz", label: "Jazz", gains: [3, 2, 1, 2, -1, -1, 0, 1, 2, 3], preamp: -2, }, { id: "classical", label: "Classical", gains: [4, 3, 2, 0, 0, 0, -1, -2, -2, -3], preamp: -2, }, { id: "bass", label: "Bass Boost", gains: [6, 5, 4, 2, 0, 0, 0, 0, 0, 0], preamp: -4, }, { id: "vocal", label: "Vocal", gains: [-2, -2, -1, 1, 3, 3, 2, 1, 0, -1], preamp: -2, }, ];