Skip to content

Commit

Permalink
Oleg Nesterov fix for ir2dsp.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Dec 10, 2019
1 parent f63e73c commit 431d229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/physicalModeling/ir2dsp/ir2dsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
# file.write('\ngate = button("gate");')
# file.write("\nprocess = pm.impulseExcitation(gate) : " + modelName + " <: _,_; ")

file.write("\nmodalModel(n,modeFreqs,modeRes,modeGains) = _ <: par(i,n,gain(i)*pm.modeFilter(freqs(i),res(i))) :> _\n")
file.write("\nmodalModel(n,modeFreqs,modeRes,modeGains) = _ <: par(i,n,pm.modeFilter(freqs(i),res(i),gain(i))) :> _\n")
file.write("with{\n")
file.write("freqs(i) = ba.take(i+1,modeFreqs);\n")
file.write("res(i) = ba.take(i+1,modeRes);\n")
Expand Down

0 comments on commit 431d229

Please sign in to comment.