Skip to content

Instantly share code, notes, and snippets.

@hosembafer
Created June 13, 2022 15:11
Show Gist options
  • Save hosembafer/d594c60bfc64ae44da210144edcde9f8 to your computer and use it in GitHub Desktop.
Save hosembafer/d594c60bfc64ae44da210144edcde9f8 to your computer and use it in GitHub Desktop.
EQ test cases
const case1 = [
{
type: "lowshelf",
frequency: 500,
gain: 18,
}
];
const case2 = [
{
type: "lowshelf",
frequency: 500,
gain: -12,
}
];
const case3 = [
{
type: "highshelf",
frequency: 1000,
gain: 18,
}
];
const case4 = [
{
type: "highshelf",
frequency: 1000,
gain: -30,
}
];
const case5 = [
{
type: "highshelf",
frequency: 1000,
gain: -13,
}
];
const case6 = [
{
type: "peaking",
frequency: 500,
gain: 30,
Q: 15,
}
];
const case7 = [
{
type: "peaking",
frequency: 100,
gain: 12,
Q: 0.1,
}
];
const case8 = [
{
type: "peaking",
frequency: 5_000,
gain: 18,
Q: 2,
}
];
const case9 = [
{
type: "peaking",
frequency: 5_000,
gain: -30,
Q: 2,
}
];
const case10 = [
...case1,
...case6,
...case4,
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment