Skip to content

Commit 5cb18d4

Browse files
committed
add eq profile for daybreak
1 parent fd78846 commit 5cb18d4

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

desktop/configuration/services.nix

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,61 @@
268268
}
269269
];
270270
};
271+
"99-crinear-daybreak-eq" = {
272+
"context.modules" = [
273+
{
274+
"name" = "libpipewire-module-filter-chain";
275+
"args" = {
276+
"node.description" = "Crinear Daybreak (PEQ)";
277+
"media.name" = "Crinear Daybreak (PEQ)";
278+
"filter.graph" = {
279+
"nodes" = [
280+
{
281+
"type" = "builtin";
282+
"name" = "preamp";
283+
"label" = "bq_highshelf";
284+
"control" = { "Freq" = 0.0; "Gain" = -3.5; "Q" = 1.0; };
285+
}
286+
{ "type" = "builtin"; "name" = "filter_1"; "label" = "bq_lowshelf"; "control" = { "Freq" = 105.0; "Gain" = 3.5; "Q" = 0.7; }; }
287+
{ "type" = "builtin"; "name" = "filter_2"; "label" = "bq_peaking"; "control" = { "Freq" = 220.0; "Gain" = -1.2; "Q" = 0.5; }; }
288+
{ "type" = "builtin"; "name" = "filter_3"; "label" = "bq_peaking"; "control" = { "Freq" = 1200.0; "Gain" = -1.5; "Q" = 1.4; }; }
289+
{ "type" = "builtin"; "name" = "filter_4"; "label" = "bq_peaking"; "control" = { "Freq" = 2800.0; "Gain" = 2.0; "Q" = 1.8; }; }
290+
{ "type" = "builtin"; "name" = "filter_5"; "label" = "bq_peaking"; "control" = { "Freq" = 4500.0; "Gain" = -2.5; "Q" = 2.0; }; }
291+
{ "type" = "builtin"; "name" = "filter_6"; "label" = "bq_peaking"; "control" = { "Freq" = 6000.0; "Gain" = 1.5; "Q" = 3.0; }; }
292+
{ "type" = "builtin"; "name" = "filter_7"; "label" = "bq_peaking"; "control" = { "Freq" = 8000.0; "Gain" = -3.0; "Q" = 4.0; }; }
293+
{ "type" = "builtin"; "name" = "filter_8"; "label" = "bq_peaking"; "control" = { "Freq" = 10500.0;"Gain" = 2.0; "Q" = 2.5; }; }
294+
{ "type" = "builtin"; "name" = "filter_9"; "label" = "bq_peaking"; "control" = { "Freq" = 13000.0;"Gain" = -4.0; "Q" = 1.0; }; }
295+
{ "type" = "builtin"; "name" = "filter_10"; "label" = "bq_peaking"; "control" = { "Freq" = 15000.0;"Gain" = 2.0; "Q" = 1.5; }; }
296+
];
297+
"links" = [
298+
{ "output" = "preamp:Out"; "input" = "filter_1:In"; }
299+
{ "output" = "filter_1:Out"; "input" = "filter_2:In"; }
300+
{ "output" = "filter_2:Out"; "input" = "filter_3:In"; }
301+
{ "output" = "filter_3:Out"; "input" = "filter_4:In"; }
302+
{ "output" = "filter_4:Out"; "input" = "filter_5:In"; }
303+
{ "output" = "filter_5:Out"; "input" = "filter_6:In"; }
304+
{ "output" = "filter_6:Out"; "input" = "filter_7:In"; }
305+
{ "output" = "filter_7:Out"; "input" = "filter_8:In"; }
306+
{ "output" = "filter_8:Out"; "input" = "filter_9:In"; }
307+
{ "output" = "filter_9:Out"; "input" = "filter_10:In"; }
308+
];
309+
"inputs" = [ "preamp:In" ];
310+
"outputs" = [ "filter_10:Out" ];
311+
};
312+
"audio.channels" = 2;
313+
"audio.position" = [ "FL" "FR" ];
314+
"capture.props" = {
315+
"node.passive" = true;
316+
"media.class" = "Audio/Sink";
317+
};
318+
"playback.props" = {
319+
"node.passive" = false;
320+
"target.object" = "alsa_output.usb-FiiO_FiiO_KA3_FiiO_KA3-00.analog-stereo";
321+
};
322+
};
323+
}
324+
];
325+
};
271326
"99-letshuoer-s12-pro-eq" = {
272327
"context.modules" = [
273328
{

0 commit comments

Comments
 (0)