耳机 EQ: LINUX 用什么玩 EQ? 滤波器设置文件有没有样板?
LINUX 可以用 Pulseeffects 玩 EQ. 它有 29/30 段均衡(您自己数一下), 基本上绝大部分场景都可以适用。所以在 LINUX 下面, 您不必去找 EQUALIZER APO。
关于滤波器设置文件,一开始俺也走了弯路。 通过 flatpak 安装了Pulseeffects,所以出乎预料,Pulseeffects 用户自定义的 EQ 设置被系统(用 JSON) 存在一个令人难以琢磨的地方。
俺用 find / -name "xxxxxxxxxx-my-EQ-setting-012345" -mtime -1 找了几遍以后都没找到。最后, 用 grep -inr "xxxxxxxxxx-my-EQ-setting-012345" ./ 在用户目录里面找出来是存在这文件里:
./.var/app/com.github.wwmm.pulseeffects/config/glib-2.0/settings/keyfile:158:last-used-preset='xxxxxxxxxx-my-EQ-setting-012345'
文件大小是 12 KB 左右。
网上还有人发现是在这里:
~/.var/app/com.github.wwmm.pulseeffects/config/PulseEffects/output/EQ.json
[root@localhost ~]# dnf -y install pulseeffects
后来俺用 YUM / DNF 安装的 Pulseeffects,配置文件的所在就比较能预料了。在这里:
~/.config/PulseEffects/output/
举例:
[wenxue@localhost ~]$ ls ~/.config/PulseEffects/output/4dollarTOhd800s.json
/home/wenxue/.config/PulseEffects/output/4dollarTOhd800s.json
好吧,就当是笔记。网上有 PulseEffects 相关文档:
https://9ithub.com/wwmm/pulseeffects/wiki/Community-presets
JSON(JavaScript Object Notation,JavaScript对象表示法)
是一种由道格拉斯·克罗克福特构想和设计、轻量级的数据交换语言,该语言以易于让人阅读的文字为基础,用来传输由属性值或者序列性的值组成的数据对象。尽管JSON是JavaScript的一个子集,但JSON是独立于语言的文本格式,并且采用了类似于C语言家族的一些习惯。
[root@localhost ~]# ls -la /home/wenxue/.config/PulseEffects/output
total 72
drwxr-xr-x. 2 wenxue wenxue 4096 Sep 26 01:03 .
drwxr-xr-x. 6 wenxue wenxue 4096 Oct 22 01:11 ..
-rw-r--r--. 1 wenxue wenxue 32169 Sep 26 01:03 4dollarTOhd800s_backup.json
-rw-r--r--. 1 wenxue wenxue 32169 Sep 26 01:03 4dollarTOhd800s.json
俺最近用得比较多的是一个四块钱 ($3.99 )的耳机, EQ 到 HD800S,听得不亦乐乎。 已经不太碰那些昂贵的耳机了。
这个耳机的滤波器设置文件留在这里供大家参考。
[wenxue@localhost ~]$ cat ~/.config/PulseEffects/output/4dollarTOhd800s.json
都是手打的, 万一对您有帮助敬请点点赞/赞赏。 多谢大家。
{
"spectrum": {
"show": "true",
"n-points": "100",
"height": "100",
"use-custom-color": "false",
"fill": "true",
"show-bar-border": "true",
"scale": "1",
"exponent": "1",
"sampling-freq": "10",
"line-width": "2",
"type": "Bars",
"color": [
"1",
"1",
"1",
"1"
],
"gradient-color": [
"0",
"0",
"0",
"1"
]
},
"output": {
"blacklist": "",
"plugins_order": [
"autogain",
"limiter",
"equalizer",
"gate",
"multiband_gate",
"compressor",
"multiband_compressor",
"convolver",
"bass_enhancer",
"exciter",
"crystalizer",
"stereo_tools",
"reverb",
"delay",
"deesser",
"crossfeed",
"loudness",
"maximizer",
"filter",
"pitch"
],
"bass_enhancer": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"amount": "0",
"harmonics": "8.5",
"scope": "100",
"floor": "20",
"blend": "0",
"floor-active": "false",
"listen": "false"
},
"compressor": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"mode": "Downward",
"attack": "20",
"release": "100",
"threshold": "-12",
"ratio": "4",
"knee": "-6",
"makeup": "0",
"sidechain": {
"listen": "false",
"type": "Feed-forward",
"mode": "RMS",
"source": "Middle",
"preamp": "0",
"reactivity": "10",
"lookahead": "0"
}
},
"crossfeed": {
"state": "false",
"fcut": "700",
"feed": "4.5"
},
"deesser": {
"state": "false",
"detection": "RMS",
"mode": "Wide",
"threshold": "-18",
"ratio": "3",
"laxity": "15",
"makeup": "0",
"f1-freq": "6000",
"f2-freq": "4500",
"f1-level": "0",
"f2-level": "12",
"f2-q": "1",
"sc-listen": "false"
},
"equalizer": {
"state": "true",
"mode": "IIR",
"num-bands": "30",
"input-gain": "-10",
"output-gain": "10",
"split-channels": "false",
"left": {
"band0": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "1",
"frequency": "25",
"q": "0.5"
},
"band1": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "0",
"frequency": "30",
"q": "0.5"
},
"band2": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "4",
"frequency": "36",
"q": "0.5"
},
"band3": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "0",
"frequency": "45.07",
"q": "4.3600000000000003"
},
"band4": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-1.5",
"frequency": "68",
"q": "1"
},
"band5": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-2.5",
"frequency": "86",
"q": "2.5"
},
"band6": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-8",
"frequency": "105",
"q": "2.5"
},
"band7": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-5",
"frequency": "138",
"q": "2.5"
},
"band8": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "186",
"q": "1.5"
},
"band9": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "206",
"q": "1.5"
},
"band10": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "286",
"q": "2.5"
},
"band11": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "366",
"q": "1.5"
},
"band12": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-6",
"frequency": "596",
"q": "3.5"
},
"band13": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-1",
"frequency": "770",
"q": "7.5"
},
"band14": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "1130",
"q": "3"
},
"band15": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "1380",
"q": "3"
},
"band16": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-8",
"frequency": "1580",
"q": "2"
},
"band17": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-2",
"frequency": "1700",
"q": "5"
},
"band18": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-2",
"frequency": "1900",
"q": "5"
},
"band19": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "0",
"frequency": "1794.3299999999999",
"q": "4.3600000000000003"
},
"band20": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-1",
"frequency": "2280",
"q": "7"
},
"band21": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "2480",
"q": "5"
},
"band22": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-9.5999999999999996",
"frequency": "2920",
"q": "7"
},
"band23": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "5",
"frequency": "3350",
"q": "7"
},
"band24": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "5.0999999999999996",
"frequency": "3720",
"q": "3"
},
"band25": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "5",
"frequency": "3960",
"q": "7"
},
"band26": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "4.0999999999999996",
"frequency": "4560",
"q": "3"
},
"band27": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-15.9",
"frequency": "5200",
"q": "4"
},
"band28": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "6",
"frequency": "8500",
"q": "2"
},
"band29": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "0",
"frequency": "17943.279999999999",
"q": "4.3600000000000003"
}
},
"right": {
"band0": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "1",
"frequency": "25",
"q": "0.5"
},
"band1": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "0",
"frequency": "30",
"q": "0.5"
},
"band2": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "4",
"frequency": "36",
"q": "0.5"
},
"band3": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "0",
"frequency": "45.07",
"q": "4.3600000000000003"
},
"band4": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-1.5",
"frequency": "68",
"q": "1"
},
"band5": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-2.5",
"frequency": "86",
"q": "2.5"
},
"band6": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-8",
"frequency": "105",
"q": "2.5"
},
"band7": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-5",
"frequency": "138",
"q": "2.5"
},
"band8": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "186",
"q": "1.5"
},
"band9": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "206",
"q": "1.5"
},
"band10": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "286",
"q": "2.5"
},
"band11": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "366",
"q": "1.5"
},
"band12": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-6",
"frequency": "596",
"q": "3.5"
},
"band13": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-1",
"frequency": "770",
"q": "7.5"
},
"band14": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "1130",
"q": "3"
},
"band15": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "1380",
"q": "3"
},
"band16": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-8",
"frequency": "1580",
"q": "2"
},
"band17": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-2",
"frequency": "1700",
"q": "5"
},
"band18": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-2",
"frequency": "1900",
"q": "5"
},
"band19": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "0",
"frequency": "1794.3299999999999",
"q": "4.3600000000000003"
},
"band20": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-1",
"frequency": "2280",
"q": "7"
},
"band21": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-3",
"frequency": "2480",
"q": "5"
},
"band22": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-9.5999999999999996",
"frequency": "2920",
"q": "7"
},
"band23": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "5",
"frequency": "3350",
"q": "7"
},
"band24": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "5.0999999999999996",
"frequency": "3720",
"q": "3"
},
"band25": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "5",
"frequency": "3960",
"q": "7"
},
"band26": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "4.0999999999999996",
"frequency": "4560",
"q": "3"
},
"band27": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "-15.9",
"frequency": "5200",
"q": "4"
},
"band28": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "6",
"frequency": "8500",
"q": "2"
},
"band29": {
"type": "Bell",
"mode": "APO (DR)",
"slope": "x1",
"solo": "false",
"mute": "false",
"gain": "0",
"frequency": "17943.279999999999",
"q": "4.3600000000000003"
}
}
},
"exciter": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"amount": "0",
"harmonics": "8.5",
"scope": "7500",
"ceil": "16000",
"blend": "0",
"ceil-active": "false",
"listen": "false"
},
"filter": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"frequency": "2000",
"resonance": "-3",
"mode": "12dB/oct Lowpass",
"inertia": "20"
},
"gate": {
"state": "false",
"detection": "RMS",
"stereo-link": "Average",
"range": "-24",
"attack": "20",
"release": "250",
"threshold": "-18",
"ratio": "2",
"knee": "9",
"makeup": "0"
},
"limiter": {
"state": "false",
"input-gain": "0",
"limit": "0",
"lookahead": "5",
"release": "50",
"asc": "false",
"asc-level": "0.5",
"oversampling": "1"
},
"maximizer": {
"state": "false",
"release": "25",
"ceiling": "0",
"threshold": "0"
},
"pitch": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"cents": "0",
"semitones": "0",
"octaves": "0",
"crispness": "3",
"formant-preserving": "false",
"faster": "false"
},
"reverb": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"room-size": "Large",
"decay-time": "1.5",
"hf-damp": "5000",
"diffusion": "0.5",
"amount": "-12",
"dry": "0",
"predelay": "0",
"bass-cut": "300",
"treble-cut": "5000"
},
"multiband_compressor": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"freq0": "120",
"freq1": "1000",
"freq2": "6000",
"mode": "LR8",
"subband": {
"threshold": "-12",
"ratio": "2",
"attack": "150",
"release": "300",
"makeup": "0",
"knee": "9",
"detection": "RMS",
"bypass": "false",
"solo": "false"
},
"lowband": {
"threshold": "-12",
"ratio": "2",
"attack": "150",
"release": "300",
"makeup": "0",
"knee": "9",
"detection": "RMS",
"bypass": "false",
"solo": "false"
},
"midband": {
"threshold": "-12",
"ratio": "2",
"attack": "150",
"release": "300",
"makeup": "0",
"knee": "9",
"detection": "RMS",
"bypass": "false",
"solo": "false"
},
"highband": {
"threshold": "-12",
"ratio": "2",
"attack": "150",
"release": "300",
"makeup": "0",
"knee": "9",
"detection": "RMS",
"bypass": "false",
"solo": "false"
}
},
"loudness": {
"state": "false",
"loudness": "-3.1000000000000001",
"output": "-6",
"link": "-9.0999999999999996"
},
"multiband_gate": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"freq0": "120",
"freq1": "1000",
"freq2": "6000",
"mode": "LR8",
"subband": {
"reduction": "-24",
"threshold": "-12",
"ratio": "2",
"attack": "150",
"release": "300",
"makeup": "0",
"knee": "9",
"detection": "RMS",
"bypass": "false",
"solo": "false"
},
"lowband": {
"reduction": "-24",
"threshold": "-12",
"ratio": "2",
"attack": "150",
"release": "300",
"makeup": "0",
"knee": "9",
"detection": "RMS",
"bypass": "false",
"solo": "false"
},
"midband": {
"reduction": "-24",
"threshold": "-12",
"ratio": "2",
"attack": "150",
"release": "300",
"makeup": "0",
"knee": "9",
"detection": "RMS",
"bypass": "false",
"solo": "false"
},
"highband": {
"reduction": "-24",
"threshold": "-12",
"ratio": "2",
"attack": "150",
"release": "300",
"makeup": "0",
"knee": "9",
"detection": "RMS",
"bypass": "false",
"solo": "false"
}
},
"stereo_tools": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"balance-in": "0",
"balance-out": "0",
"softclip": "false",
"mutel": "false",
"muter": "false",
"phasel": "false",
"phaser": "false",
"mode": "LR > LR (Stereo Default)",
"side-level": "0",
"side-balance": "0",
"middle-level": "0",
"middle-panorama": "0",
"stereo-base": "0",
"delay": "0",
"sc-level": "1",
"stereo-phase": "0"
},
"convolver": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"kernel-path": "",
"ir-width": "100"
},
"crystalizer": {
"state": "false",
"aggressive": "false",
"input-gain": "0",
"output-gain": "0",
"band0": {
"intensity": "12",
"mute": "false",
"bypass": "false"
},
"band1": {
"intensity": "10",
"mute": "false",
"bypass": "false"
},
"band2": {
"intensity": "8",
"mute": "false",
"bypass": "false"
},
"band3": {
"intensity": "6",
"mute": "false",
"bypass": "false"
},
"band4": {
"intensity": "4",
"mute": "false",
"bypass": "false"
},
"band5": {
"intensity": "2",
"mute": "false",
"bypass": "false"
},
"band6": {
"intensity": "0",
"mute": "false",
"bypass": "false"
},
"band7": {
"intensity": "-2",
"mute": "false",
"bypass": "false"
},
"band8": {
"intensity": "-4",
"mute": "false",
"bypass": "false"
},
"band9": {
"intensity": "-6",
"mute": "false",
"bypass": "false"
},
"band10": {
"intensity": "-8",
"mute": "false",
"bypass": "false"
},
"band11": {
"intensity": "-10",
"mute": "false",
"bypass": "false"
},
"band12": {
"intensity": "-12",
"mute": "false",
"bypass": "false"
}
},
"autogain": {
"state": "false",
"detect-silence": "false",
"use-geometric-mean": "true",
"input-gain": "0",
"output-gain": "0",
"target": "-23",
"weight-m": "1",
"weight-s": "1",
"weight-i": "1"
},
"delay": {
"state": "false",
"input-gain": "0",
"output-gain": "0",
"time-l": "0",
"time-r": "0"
}
}
}
基本上您把上面这个代码筺里面的东西存成 XXXXX.json, 然后放进隐藏文件夹(子目录)
~/.config/PulseEffects/output/
里面, 就可以在 Pulseeffects 中调用了。