MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007680ardourbugspublic2018-11-01 11:182018-11-01 14:30
Reporterjohmue-eo 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.X git (version in description) 
Target VersionFixed in Version 
Summary0007680: State of sidechain not set, when a route is duplicated
DescriptionWhen duplicating a brack or bus that contains one or more sidechains, the states of the sidechains in the newly created track or bus is not set.

Same behavior also in 5.12
Steps To Reproduce* start with an empty session
* create a track or bus
* add a plugin that has a sidechain (e.g. a-comp)
* make sure that the sidechain has at least one audio port
* duplicate the track or bus by right-click -> duplicate
* confirm the dialog
* the newly created track or bus has a sidechain, which has no ports (should have as much as the old track or bus)
* when adding a port it has the name "TO BE RESET FROM XML"
Additional InformationPresumably the problem lies in libs/ardour/plugininsert.cc:2768 (as of cc83e1a)

The check regenerate_xml_or_string_ids () returns true.

if (!regenerate_xml_or_string_ids ()) {
    _sidechain->set_state (**i, version);
}

so _sidechain->set_state () is not called.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0020430)
x42 (administrator)
2018-11-01 11:49

Re:
> the newly created track or bus has a sidechain, which has no ports (should have as much as the old track or bus)

I'm not sure if that's expected. This would imply to add a dedicated side-chain send to the source-track and connect it.
Copying tracks is pretty much like creating tracks from templates. External sends feeding the track and their connections are not part of the template.
(0020431)
johmue-eo (reporter)
2018-11-01 12:08

If the state is not supposed to be copied, it's just about the name setting. I can confirm that also after creating a track with sidechain from a template, the sidechain name is "TO BE RESET FROM XML".

If it's only about the name setting, I can provide a fix.
(0020432)
x42 (administrator)
2018-11-01 12:13

I'm not yet sure what is the correct way to fix it.

(A) just fix the name?
or
(B) re-connect the sidechain
or
(C) disable the sidechain input
or
(C) something else...
(0020433)
johmue-eo (reporter)
2018-11-01 12:27

Fixing the name would be an important step that can be done right away. (Actually I have already a fix here.)

Nice to have would be to have the same number of ports created and pin connected. Imagine you have some plugin with 6 MIDI input ports and 8 audio input ports fed by the sidechain. Then it would be nice, if the ports are pin connected automatically when creating a track such a plugin from a template.
(0020434)
johmue-eo (reporter)
2018-11-01 14:30

Fixed as of fe318c0cd
(0020435)
johmue-eo (reporter)
2018-11-01 14:30

Fixed as of fe318c0cd

- Issue History
Date Modified Username Field Change
2018-11-01 11:18 johmue-eo New Issue
2018-11-01 11:49 x42 Note Added: 0020430
2018-11-01 12:08 johmue-eo Note Added: 0020431
2018-11-01 12:13 x42 Note Added: 0020432
2018-11-01 12:27 johmue-eo Note Added: 0020433
2018-11-01 14:30 johmue-eo Note Added: 0020434
2018-11-01 14:30 johmue-eo Note Added: 0020435
2018-11-01 14:30 johmue-eo Status new => closed
2018-11-01 14:30 johmue-eo Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker