Using laymans talk and broadly speaking
And to add to what you are saying
The gas pulse is not a gas body that reflects, it is a shock wave that will only travel along the solid medium of the pipe containing the gas. when the shockwave reaches the end of the solid medium(open air) it will return back up the pipe. It is exactly the same for using explosives, the blast is one thing the returning shockwave is quite another with equally devastating results.
The "tuned length" of an exhaust(as far as exhaust piping goes) is all you need for Torque.(extractors) the rest of the system is an exercise in making the most efficient means of staying legal. there are gains to be made by carefully reducing the systems diameter and then enlarging the diameter back to the equal some of all the header pipes. This does increase the velocity of the gas thru the restricted area and provides gas purging to allow more mass movement thru a part that is only required for legal reasons. eg better without the restriction.
Ther is a book of about 200 plus pages , written buy a mad scientist at a Scottish university. He spent nearly forty years studying the science of gas flow and all that goes with it. Incredible reading that goes way beyond the stuff most of us learn thru trade or life. He put all his theories into to practice to remove the white mans magic aspect of lab tests.
At the end of the book his summary was carefully tuned individual stacks for all out power at narrow rev range(ala Drag). and tuned length pipes joined progressively, maximising shockwave(gas slug) timing to aid in scavenge,, or more to the point not disrupt gas flow with a poorly timed gas slug that opposed mass flow. There are acknowledgments that a heap of other techniques can be implemented but basically they had weight penalties or economic penalty etc.
Bookmarks