summaryrefslogtreecommitdiff
path: root/share/scripts/_stereo_to_mono.lua
diff options
context:
space:
mode:
Diffstat (limited to 'share/scripts/_stereo_to_mono.lua')
-rw-r--r--share/scripts/_stereo_to_mono.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/_stereo_to_mono.lua b/share/scripts/_stereo_to_mono.lua
index 81fa0316a7..20bfb7c5b2 100644
--- a/share/scripts/_stereo_to_mono.lua
+++ b/share/scripts/_stereo_to_mono.lua
@@ -30,7 +30,7 @@ function factory (params) return function ()
if channels ~= 2 then goto next end
-- create 2 new tracks (using the name of the original track)(
- local newtracks = Session:new_audio_track (2, 2, nil, 2, t:name(), ARDOUR.PresentationInfo.max_order, ARDOUR.TrackMode.Normal)
+ local newtracks = Session:new_audio_track (2, 2, nil, 2, t:name(), ARDOUR.PresentationInfo.max_order, ARDOUR.TrackMode.Normal, true)
assert (newtracks:size() == 2)
for r in playlist:region_list ():iter () do