fix typo in notch example script
authorRobin Gareus <robin@gareus.org>
Sat, 27 Aug 2016 22:02:16 +0000 (00:02 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 27 Aug 2016 22:02:16 +0000 (00:02 +0200)
scripts/_notch_bank.lua

index 68c1942c5a65fc5509d0957e997b43973db3f442..03a8dbf22f2868d103f18c7cc3d86afca6bd78ba 100644 (file)
@@ -110,7 +110,7 @@ function dsp_run (ins, outs, n_samples)
        for c = 1, chn do
                -- when not processing in-place, copy the data from input to output first
                if not ins[c]:sameinstance (outs[c]) then
-                       ARDOUR.DSP.copy_vector (outs[c], outs[c], n_samples)
+                       ARDOUR.DSP.copy_vector (outs[c], ins[c], n_samples)
                end
 
                -- run all stages, in-place on the output buffer