Skip to content

Commit 46d35ab

Browse files
committed
scripts/rew_to_dsp.sh: Add support for LP1, HP1, LSQ, and HSQ.
1 parent f254809 commit 46d35ab

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

scripts/rew_to_dsp.sh

+16
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ AWK_SCRIPT='
4040
gsub(",", "", $6)
4141
print "highpass", $6, "0.7071"
4242
}
43+
else if ($4=="LP1") {
44+
gsub(",", "", $6)
45+
print "lowpass_1", $6
46+
}
47+
else if ($4=="HP1") {
48+
gsub(",", "", $6)
49+
print "highpass_1", $6
50+
}
4351
else if ($4=="LPQ") {
4452
gsub(",", "", $6)
4553
print "lowpass", $6, $9
@@ -68,6 +76,14 @@ AWK_SCRIPT='
6876
gsub(",", "", $7)
6977
print "highshelf", $7, substr($5, 1, length($5)-2)"d", $10
7078
}
79+
else if ($4=="LSQ" && $9!=0) {
80+
gsub(",", "", $6)
81+
print "lowshelf", $6, $12, $9
82+
}
83+
else if ($4=="HSQ" && $9!=0) {
84+
gsub(",", "", $6)
85+
print "highshelf", $6, $12, $9
86+
}
7187
else if ($4=="AP") {
7288
gsub(",", "", $6)
7389
print "allpass", $6, $9

0 commit comments

Comments
 (0)