From: Shamus Hammons
Date: Thu, 12 Jan 2017 19:10:27 +0000 (-0600)
Subject: Tweak "munge" to omit 'children' marker if there are no subchapters.
X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=ardour-manual-diverged;a=commitdiff_plain;h=79c80e1d64ad8cf104c08012de2e9911e8c950ce
Tweak "munge" to omit 'children' marker if there are no subchapters.
---
diff --git a/master-doc.txt b/master-doc.txt
index b8fa400..feb0139 100644
--- a/master-doc.txt
+++ b/master-doc.txt
@@ -7060,7 +7060,7 @@ part: subchapter
The Transport Bar groups all the actions regarding the control of playback and recording.
-
+
This bar is made of (from left to right):
@@ -7068,7 +7068,7 @@ part: subchapter
-
- Midi Panic: allows to immediately stop all midi output.
+ Midi Panic: Immediately stops all midi output.
-
Enable/disable Audio Click: Toggles (on/off) a click track (metronome) along the tempo.
@@ -7080,23 +7080,23 @@ part: subchapter
Go to End of the Session: Jumps forward to the end of the session, as defined by the end marker.
-
- Play Loop Range: Repeats the defined loop as defined by the Loop range, until the "Stop playback" button is pressed. Clicking the "Play loop Range" button while already active switches to normal Play mode, which allows to exit the loop without stopping and restarting the playback.
+ Play Loop Range: Repeats the defined loop as defined by the Loop range, until the "Stop playback" button is pressed. Clicking the "Play loop Range" button while already active switches to normal Play mode, which exits the loop without stopping and restarting playback.
-
Play Range/Selection: If a range has been defined using the Range Mode button, plays the range, of if an audio or MIDI region is selected, plays this region. In both cases, the playback stops at the end of the range or selected region.
-
- Play from playhead: Starts the playback and optionally record (more bellow).
+ Play from playhead: Starts the playback and optionally record (more below).
-
Stop: Whatever the playing mode (loop, range, …) stops all playback. Depending on other settings, some effects (like chorus or reverb) might still be audible for a while.
-
- Toggle Record: Global switch button to activate/deactivate recording. While active, the button blinks red. The button doesn't start the recording itself: if one or more tracks are marked as record-enabled, pressing the "Play from Playhead" starts the recording on this/these track(s). See Recording.
+ Toggle Record: Global switch button to activate/deactivate recording. While active, the button blinks red. The button doesn't start recording by itself: if one or more tracks are marked as record-enabled, pressing the "Play from Playhead" starts recording on those tracks. See Recording.
-Language in the above paragraphs is awkward
+Add default keyboard shortcuts to the above.
All these actions are bound to keyboard shortcuts, which allows for speedier use and more focused work.
@@ -7131,7 +7131,7 @@ part: subchapter
Follow Edits is a toggle that can be used to control whether or not making a selection (range or object) will move the playhead to the start of the selection.
- Auto Return is a toggle switch too. When active, pressing the Stop button returns the playhead to its previous position, and when inactive, pressing Stop keeps the playhead at its current location. Activating Auto Return can be useful for earing back the same part of the audio before and after having tweaked it, without having to loop on it.
+ Auto Return is a toggle switch too. When active, pressing the Stop button returns the playhead to its previous position, and when inactive, pressing Stop keeps the playhead at its current location. Activating Auto Return can be useful for hearing the same piece of audio before and after tweaking it, without having to set a loop range on it.
diff --git a/munge b/munge
index 8b2261d..8176b44 100755
Binary files a/munge and b/munge differ
diff --git a/munge.cpp b/munge.cpp
index 493cdbd..61e1a6b 100644
--- a/munge.cpp
+++ b/munge.cpp
@@ -154,7 +154,9 @@ int main(int argc, char * argv[])
{
if (newFile != NULL)
{
- fprintf(newFile, "\n{%% children %%}\n\n");
+ if (level == 2)
+ fprintf(newFile, "\n{%% children %%}\n\n");
+
fclose(newFile);
newFile = NULL;
}