ardour-tutorial/en/editing-sessions/non-destructive-editing/index.html

65 lines
23 KiB
HTML
Raw Normal View History

<!doctype html><html lang=en class="js csstransforms3d"><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.96.0"><meta name=description content="What is non-destructive editing and how does it work in Ardour?"><link rel=icon href=/ardour-tutorial/images/favicon.png type=image/png><title>Non-destructive editing :: Ardour tutorial</title><link href=/ardour-tutorial/css/nucleus.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/fontawesome-all.min.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/hybrid.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/featherlight.min.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/perfect-scrollbar.min.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/auto-complete.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/atom-one-dark-reasonable.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/theme.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/tabs.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/hugo-theme.css?1649027572 rel=stylesheet><link href=/ardour-tutorial/css/theme-blue.css?1649027572 rel=stylesheet><script src=/ardour-tutorial/js/jquery-3.3.1.min.js?1649027572></script><style>:root #header+#content>#left>#rlblock_left{display:none!important}:not(pre)>code+span.copy-to-clipboard{display:none}</style></head><body data-url=/ardour-tutorial/en/editing-sessions/non-destructive-editing/><nav id=sidebar><div id=header-wrapper><div id=header><a id=logo href=/ardour-tutorial/en/><svg id="Layer_1" width="92" height="80" viewBox="0 0 92 80" enable-background="new 0 0 92 80" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"><defs id="defs6"/><path id="path6984" fill="#c61f40" d="M45.586.44-.082 79.558c3.356.0 2.828-2.382 4.417-2.382 1.681.004 1.367 1.19 2.951 1.19.814.0 1.467-.806 1.466-2.804.0-2.664.661-4.017 1.476-4.017s1.476 1.187 1.476 2.372c0 1.492.662 2.678 1.476 2.678.814.0 1.477-2.019 1.477-4.512l-.01-2.857c0-3.447.661-6.24 1.476-6.24s1.477 1.207 1.476 5.112c0 3.104.662 6.198 1.476 6.198s1.478-3.602 1.477-9.382c0-6.68.65-10.996 1.465-10.996s1.477 4.32 1.476 8.582c0 4.977.662 9.878 1.477 9.878s1.477-4.902 1.476-11.701c0-7.302.651-12.609 1.466-12.609.813.0 1.477 5.308 1.476 11.406.0 6.4.661 11.955 1.476 11.955s1.476-5.551 1.476-12.661c0-7.109.651-12.766 1.466-12.766s1.476 5.656 1.476 12.649c0 6.994.662 12.641 1.476 12.641s1.477-5.65 1.477-12.397c0-6.602.65-12.135 1.465-12.135s1.476 5.53 1.476 12.746c0 6.952.663 12.271 1.477 12.271.813.0 1.477-5.318 1.476-11.332.0-5.651.651-10.669 1.465-10.669s1.478 5.027 1.477 11.882c0 6.413.661 11.068 1.476 11.068s1.477-4.657 1.476-9.667c0-4.514.651-8.781 1.466-8.781s1.477 4.265 1.476 10.32c0 5.522.662 9.351 1.476 9.351s1.477-3.825 1.477-7.727c0-3.353.65-6.737 1.465-6.737s1.476 3.382 1.476 8.382c0 4.449.662 7.389 1.477 7.389s1.476-2.586 1.476-5.407c0-2.911.662-5.145 1.476-5.145s1.466 2.501 1.466 6.356c0 3.345.661 5.439 1.476 5.439s1.476-1.732 1.476-3.479c0-1.801.662-3.563 1.477-3.563.813.0 1.465 1.703 1.465 4.459.0 2.317.662 3.668 1.477 3.668s1.477-.941 1.477-2.034c0-1.438.661-2.098 1.476-2.098s1.466.987 1.466 2.814c0 1.44.661 2.192 1.476 2.192 1.539.0 1.331-1.917 2.951-1.929 1.773.0 1.253 2.571 2.941 2.571 1.217.0 2.159-.469 2.952-.474 1.316.0 1.408.928 4.416.928L45.588.44H45.586z" style="fill:#000"/></svg></a></div><div class=searchbox><label for=search-by><i class="fas fa-search"></i></label>
<input data-search-input id=search-by type=search placeholder=Search...>
<span data-search-clear><i class="fas fa-times"></i></span></div><script type=text/javascript src=/ardour-tutorial/js/lunr.min.js?1649027572></script>
<script type=text/javascript src=/ardour-tutorial/js/auto-complete.js?1649027572></script>
<script type=text/javascript>var baseurl="https://prokoudine.github.io/ardour-tutorial/en"</script><script type=text/javascript src=/ardour-tutorial/js/search.js?1649027572></script></div><section id=homelinks><ul><li><a class=padding href=/ardour-tutorial/en/><i class="fas fa-home"></i> Home</a></li></ul></section><div class=highlightable><ul class=topics><li data-nav-id=/ardour-tutorial/en/introduction/ title=Introduction class=dd-item><a href=/ardour-tutorial/en/introduction/><b>1. </b>Introduction</a><ul><li data-nav-id=/ardour-tutorial/en/introduction/conventions/ title=Conventions class=dd-item><a href=/ardour-tutorial/en/introduction/conventions/>Conventions</a></li><li data-nav-id=/ardour-tutorial/en/introduction/what-is-digital-audio/ title="What is digital audio?" class=dd-item><a href=/ardour-tutorial/en/introduction/what-is-digital-audio/>What is digital audio?</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/getting-started/ title="Getting started" class=dd-item><a href=/ardour-tutorial/en/getting-started/><b>2. </b>Getting started</a><ul><li data-nav-id=/ardour-tutorial/en/getting-started/starting-ardour-on-ubuntu/ title="Starting Ardour" class=dd-item><a href=/ardour-tutorial/en/getting-started/starting-ardour-on-ubuntu/>Starting Ardour</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/ title="Overview of the Interface" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/>Overview of the Interface</a><ul><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/editor-window/ title="Editor window" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/editor-window/>Editor window</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/mixer-window/ title="Mixer window" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/mixer-window/>Mixer window</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/recorder-window/ title="Recorder window" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/recorder-window/>Recorder window</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/cue-window/ title="Cue window" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/cue-window/>Cue window</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/getting-started/creating-tracks-and-busses/ title="Creating tracks and busses" class=dd-item><a href=/ardour-tutorial/en/getting-started/creating-tracks-and-busses/>Creating tracks and busses</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/importing-audio/ title="Importing audio" class=dd-item><a href=/ardour-tutorial/en/getting-started/importing-audio/>Importing audio</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/setting-up-the-timeline/ title="Setting up the timeline" class=dd-item><a href=/ardour-tutorial/en/getting-started/setting-up-the-timeline/>Setting up the timeline</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/recording-audio/ title=Recording class=dd-item><a href=/ardour-tutorial/en/recording-audio/><b>3. </b>Recording</a><ul><li data-nav-id=/ardour-tutorial/en/recording-audio/recording-audio/ title="Recording audio" class=dd-item><a href=/ardour-tutorial/en/recording-audio/recording-audio/>Recording audio</a></li><li data-nav-id=/ardour-tutorial/en/recording-audio/understanding-routing/ title="Understanding routing" class=dd-item><a href=/ardour-tutorial/en/recording-audio/understanding-routing/>Understanding routing</a></li><li data-nav-id=/ardour-tutorial/en/recording-audio/routing-between-applications/ title="Routing between applications" class=dd-item><a href=/ardour-tutorial/en/recording-audio/routing-between-applications/>Routing between applications</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/ title="Editing sessions" class="dd-item
parent"><a href=/ardour-tutorial/en/editing-sessions/><b>4. </b>Editing sessions</a><ul><li data-nav-id=/ardour-tutorial/en/editing-sessions/non-destructive-editing/ title="Non-destructive editing" class="dd-item active"><a href=/ardour-tutorial/en/editing-sessions/non-destructive-editing/>Non-destructive editing</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/arranging-tracks/ title="Arranging tracks" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/arranging-tracks/>Arranging tracks</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/setting-up-the-meter/ title="Setting up the meter" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/setting-up-the-meter/>Setting up the meter</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/using-ranges/ title="Using ranges" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/using-ranges/>Using ranges</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/working-with-regions/ title="Working with regions" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/working-with-regions/>Working with regions</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/further-region-operations/ title="Further region operations" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/further-region-operations/>Further region operations</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/changing-edit-modes/ title="Changing edit modes" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/changing-edit-modes/>Changing edit modes</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/creating-looped-sections/ title="Creating looped sections" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/creating-looped-sections/>Creating looped sections</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/stretching-shrinking-regions/ title="Stretching & shrinking regions" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/stretching-shrinking-regions/>Stretching & shrinking regions</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/ title="Mixing sessions" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/><b>5. </b>Mixing sessions</a><ul><li data-nav-id=/ardour-tutorial/en/mixing-sessions/the-mixer-strip/ title="The mixer strip" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/the-mixer-strip/>The mixer strip</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/mixing-levels/ title="Mixing levels" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/mixing-levels/>Mixing levels</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/panning/ title=Panning class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/panning/>Panning</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/using-plugins/ title="Using plugins" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/using-plugins/>Using plugins</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/using-sends/ title="Using sends" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/using-sends/>Using sends</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/dynamics/ title=Dynamics class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/dynamics/>Dynamics</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/equalizing/ title=Equalizing class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/equalizing/>Equalizing</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/using-automation/ title="Using automation" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/using-automation/>Using automation</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/exporting-sessions/ title="Exporting sessions" class=dd-item><a href=/ardour-tutorial/en/exporting-sessions/><b>6. </b>Exporting sessions</a><ul><li data-nav-id=/ardour-tutorial/en/exporting-sessions/exporting-a-region/ title="Exporting regions" class=dd-item><a href=/ardour-tutorial/en/exporting-sessions/exporting-a-region/>Exporting regions</a></li><li data-nav-id=/ardour-tutorial/en/expo
<span id=toc-menu><i class="fas fa-list-alt"></i></span>
<span class=links><a href=/ardour-tutorial/en/>Home</a> > <a href=/ardour-tutorial/en/editing-sessions/>Editing sessions</a> > Non-destructive editing</span></div><div class=progress><div class=wrapper><nav id=TableOfContents><ul><li><a href=#what-does-non-destructive-editing-actually-mean>What does non-destructive editing actually mean?</a></li><li><a href=#how-does-it-work-in-ardour>How does it work in Ardour?</a></li><li><a href=#differences-between-audio-and-midi-regions>Differences between audio and MIDI regions</a></li><li><a href=#where-does-ardour-store-source-material>Where does Ardour store source material?</a></li><li><a href=#does-ardour-ever-change-audio-data-on-disk>Does Ardour ever change audio data on disk?</a></li><li><a href=#continuing>Continuing</a></li></ul></nav></div></div></div></div><div id=head-tags></div><div id=body-inner><h1>Non-destructive editing</h1><p>In one of the previous chapters we already discussed that Ardour operates on
sessions that encompass all material you have: audio clips, MIDI clips, all
effects applied to tracks and busses etc. Before we get to actual editing, let&rsquo;s
talk about basics of non-destructive editing, how it&rsquo;s implemented in Ardour,
and why it should give you peace of mind when you do some heavy editing.</p><h2 id=what-does-non-destructive-editing-actually-mean>What does non-destructive editing actually mean?</h2><p>In a nutshell, a non-destructive approach to editing means this: whatever you
do, your source material always stays intact. Instead of writing to original
files, a program would rather describe changes you applied, store them in a
project file, and then &ldquo;replay&rdquo; them when loading that project.</p><h2 id=how-does-it-work-in-ardour>How does it work in Ardour?</h2><p>Here is a quick example. Let&rsquo;s record a short audio clip, cut it in half and
then drag the right half to the right creating a gap:</p><figure><img src=en/non-destructive-editing-cut-move-example.gif alt="Cutting and moving a audio region"></figure><p>Here is what actually happens here. Ardour creates a region that references the
original audio file and uses all of its data, from the first to the last sample.</p><p>When you split the file in two, Ardour creates two regions, and they both
reference the original file. But now the project file says: the left region
starts at this point in time, begins with the first sample of the original file
and stops at that sample in the middle, and the second region starts at a
different point in time with that sample in the middle of the original file, and
then it stops at the last sample of the original file.</p><p>You can cut an audio region into as many smaller clips as you like, move them
around tracks, change their start/end points, stretch or contract them etc. The
original audio file will never change on the disk.</p><p>When you save a project, all that information is preserved in the session file.
When you reopen the session, Ardour reads all these references, loads original
files and recreates all edited audio regions from original audio files. That&rsquo;s
what &ldquo;replaying changes&rdquo; really means.</p><p>If you don&rsquo;t like the way you edited an original take and you are way too far
into editing to undo the changes, you can start all over again without recording
a new take. For that, you can open the right sidebar by pressing <strong>Shift+L</strong>, go
to the <em>Sources</em> tab, grab the name of the original audio file of the take, drop
it on any track and then move it around, cut etc.</p><figure><img src=en/non-destructive-editing-redo-all-over-again.gif alt="Redo the editing all over again"></figure><p>Moreover, any effects you apply to a track are also non-destructive. Ardour will
apply them to original audio stream and play the result on-the-fly.</p><p>In case of MIDI clips played through a synthesizer, Ardour will use the
synthesizer to render a stream of audio data while the playhead is rolling,
capture that audio stream, apply effects to it, and then play the resulting
audio stream as you go.</p><h2 id=differences-between-audio-and-midi-regions>Differences between audio and MIDI regions</h2><p>As you already know, audio files are always intact. But MIDI regions are
different: you can actually edit their contents, and the changes are saved to
MIDI files on the disk.</p><p>One case where this matters is when you want to combine multiple regions into
one. You can do that with audio regions by selecting the ones you want to merge
and them use <code>Region > Edit > Combine</code>. This will create a kind of a meta-region
that references N audio files on the disk.</p><p>However you cannot do the same with MIDI regions primarily because they are
editable on disk, and thus combining something that can physically change can
wreak havoc on data continuity.</p><h2 id=where-does-ardour-store-source-material>Where does Ardour store source material?</h2><p>Consider this generic project. You have here several audio tracks representing
drums, two audio tracks for bass and solo guitar, and a MIDI track for electric
piano.</p><figure><img src=en/session-example.png alt="Session example"></figure><p>If you go to the session folder, you&rsquo;ll find there a number of subfolders,
including these two:</p><ul><li>&lsquo;interchange&rsquo;, this is where source audio and MIDI files are stored;</li><li>&lsquo;plugins&rsquo;, here Ardour saves the state of every instance of every plugin
used in the project.</li></ul><p>When you record one instrument, every take you do is represented by one physical
audio file per channel. So if you did three takes in a stereo track, you&rsquo;ll have
6 audio files.</p><h2 id=does-ardour-ever-change-audio-data-on-disk>Does Ardour ever change audio data on disk?</h2><p>The only time Ardour does anything to actual audio files on the disk is when you
explicitely tell you to remove audio files that aren&rsquo;t used anywhere in the
project. Typically this is done when you did dozens of takes, you made your
choice and you don&rsquo;t want these files on the disk anymore because they take
space.</p><p>Even then, you do it in two steps. First you go to <code>Session > Clean-up > Clean-up Unused Sources</code> to put unused original files into a trash bin, then you
separately go to <code>Session > Clean-up > Flush Wastebasket</code> to actually tell
Ardour to remove unused files physically.</p><h2 id=continuing>Continuing</h2><p>Now that you are familiar with basics of non-destructive editing, let&rsquo;s do some
actual arranging and editing.</p><p>Next: <a href=../arranging-tracks>Arranging tracks</a></p><footer class=footline></footer></div></div><div id=navigation></div></section><div style=left:-1000px;overflow:scroll;position:absolute;top:-1000px;border:none;box-sizing:content-box;height:200px;margin:0;padding:0;width:200px><div style=border:none;box-sizing:content-box;height:200px;margin:0;padding:0;width:200px></div></div><script src=/ardour-tutorial/js/clipboard.min.js?1649027572></script>
<script src=/ardour-tutorial/js/perfect-scrollbar.min.js?1649027572></script>
<script src=/ardour-tutorial/js/perfect-scrollbar.jquery.min.js?1649027572></script>
<script src=/ardour-tutorial/js/jquery.sticky.js?1649027572></script>
<script src=/ardour-tutorial/js/featherlight.min.js?1649027572></script>
<script src=/ardour-tutorial/js/highlight.pack.js?1649027572></script>
<script>hljs.initHighlightingOnLoad()</script><script src=/ardour-tutorial/js/modernizr.custom-3.6.0.js?1649027572></script>
<script src=/ardour-tutorial/js/learn.js?1649027572></script>
<script src=/ardour-tutorial/js/hugo-learn.js?1649027572></script>
<script src=/ardour-tutorial/mermaid/mermaid.js?1649027572></script>
<script>mermaid.initialize({startOnLoad:!0})</script></body></html>