Skip to content

Commit

Permalink
scripts/rew_to_dsp.sh: Add support for LP1, HP1, LSQ, and HSQ.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc0 committed Jun 6, 2020
1 parent f254809 commit 46d35ab
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions scripts/rew_to_dsp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ AWK_SCRIPT='
gsub(",", "", $6)
print "highpass", $6, "0.7071"
}
else if ($4=="LP1") {
gsub(",", "", $6)
print "lowpass_1", $6
}
else if ($4=="HP1") {
gsub(",", "", $6)
print "highpass_1", $6
}
else if ($4=="LPQ") {
gsub(",", "", $6)
print "lowpass", $6, $9
Expand Down Expand Up @@ -68,6 +76,14 @@ AWK_SCRIPT='
gsub(",", "", $7)
print "highshelf", $7, substr($5, 1, length($5)-2)"d", $10
}
else if ($4=="LSQ" && $9!=0) {
gsub(",", "", $6)
print "lowshelf", $6, $12, $9
}
else if ($4=="HSQ" && $9!=0) {
gsub(",", "", $6)
print "highshelf", $6, $12, $9
}
else if ($4=="AP") {
gsub(",", "", $6)
print "allpass", $6, $9
Expand Down

0 comments on commit 46d35ab

Please sign in to comment.