User:Billw58/Templates and Spans

From Audacity Development Manual
< User:Billw58
Revision as of 17:08, 12 April 2012 by Stevethefiddle (talk | contribs) (Non-shortcut keys - the "Keyboard" span)
Jump to: navigation, search
  • Bill: Summary as of 10Apr12
    • I think we have consensus to change the advice div and template to pale orange (#FFEECC - same as current editornote), and change the editornote div to pale mauve (#EEDDFF - last example in that section).
    • I'm OK with #FFEEAA for the menu span and template (#2 in the examples below) so I think we have consensus there as well.
      • On April 12 or 13 I'll change the css for these if there are no objections here or on the -manual thread.
    • On April 12 or 13 I'll trim the key and button template examples down to those that have received positive votes and we can have another round of voting on those.
    • Worst case - if people don't like them I can just revert the css.
    • I think it will be useful to see them in use throughout the manual and continue to tweak as needed.
  • Bill 12Apr12: Trimmed page for easier comparison of outstanding choices: key, button and keyboard spans

Alternative "Menu" span/template colours:

(keeping this here for reference)

  1. Click on Effect >Amplify #FFFFCC previous colour
  2. Click on Effect >Amplify #FFEEAA Steve +0.5; Gale +1 - current colour
  3. Click on Effect >Amplify #FFEECC Bill +1
  4. Click on Effect >Amplify #FFDDAA Steve +1
  • Bill: I think 2, 3 and 4 look OK.
  • Steve: Changed my vote to 2 as a good compromise.
  • Gale: Changed my vote to 2 as a good compromise between 3 and 4.
  • Ed 12Apr12: one thing to keep in mind for spans which could be a hypertext link is that the link color (generally a modestly dark blue) must contrast well with the span color--the lighter the saturation of the span color the more likely the link will be obvious; there is probably some color wheel rule for picking contrasting colors. My vote--lighter is better.

The "Key" span

Press CTRL + A - the current key template

  1. Press CTRL + A. Gale +1; Steve +1; Bill -0.5
  2. Press CTRL + A. Gale -1
  3. Press CTRL + A. Steve +1; Bill +0.5; Gale -1
  4. Press CTRL + A. Gale +1
  5. Press CTRL + A. Bill +1 (changing my vote)
  6. Press CTRL + A. Or Gale +1 for this key span also

The "Button" span

  1. click the Select All button. Gale +1
  2. click the Select All button. Gale +0.5; Bill +1
  3. click the Select All button.
  4. click the Select All button.
  5. click the Select All button.
  6. click the Select All button.
  7. click the Select All button.
  8. click the Select All button.
  9. click the Select All button.
  10. click the Select All button.
  11. click the Select All button.
  • Gale: Having looked at the green key spans, I think the darker ones are too far from other colours we use in the Manual, and the "intro div" colour is too light for the small surface area of a span. I think any not too prominent colour with a light blue/green hue (more blue than green) would work for me.
    I think the button span benefits from a border but most of the buttons are too prominent in strength of border and background colour. I voted for a couple of them.
    • Bill 10Apr12: +1 for "more blue than green" in the key spans
      I've added a selection of button spans (above) and transferred votes to them. There's now a selection of lighter fill colours.

Non-shortcut keys - the "Keyboard" span

Bill08Apr12: I don't like the idea of using the button template for both on-screen button and for keyboard keys. So here's an alternative.

  • Tag Name: The first seven Tag names are permanent and cannot be edited. You can add more Tag rows and give them a customised name and value using the "Add" button (see below). Note: "Album Title", "Track Number", "Genre" and customised tags are not supported for WAV and will not be exported or imported.
  • Tag Value: Type in the data you want for each Tag, or accept the data already present from an imported file. You don't have to fill in every value. When exporting multiple files, the "Track Title" and "Track Number" tags are pre-filled automatically from the names and ordering of the tracks or labels.

    Single-clicking on a value field (or navigating into it with the keyboard arrow keys) selects that field - typing will replace the contents. Tab can be used too, and also permits navigation into the buttons below the Tag and Value fields.

  • Double-clicking a field (or selecting it, then using keyboard F2) highlights the text in the field. This allows the text to be edited rather than merely replaced, and permits cut, copy or paste using standard system shortcuts or a right-click context menu. Use keyboard Home, End or arrow keys to navigate to individual characters. Once a value field has been replaced or edited, press the Return key to select the next value field, or click in any other one to select it.

Here's how they look inside a note

Double-clicking a field (or selecting it, then using keyboard F2) highlights the text in the field. This allows the text to be edited rather than merely replaced, and permits cut, copy or paste using standard system shortcuts or a right-click context menu. Use keyboard Home, End or arrow keys to navigate to individual characters. Once a value field has been replaced or edited, press the Return key to select the next value field, or click in any other one to select it.

Here's how they look inside a note when they have a white background

Double-clicking a field (or selecting it, then using keyboard F2) highlights the text in the field. This allows the text to be edited rather than merely replaced, and permits cut, copy or paste using standard system shortcuts or a right-click context menu. Use keyboard Home, End or arrow keys to navigate to individual characters. Once a value field has been replaced or edited, press the Return key to select the next value field, or click in any other one to select it.
  • Gale: +1 for white background as this improves presentation inside a note.+1 for bold text inside the button as in "Return". Did you try white text on black? I guess it would look bad, but so many keyboards are white on black now.
  • Bill 12Apr12: -1 for bold text - I think there's enough emphasis with the border.
  • Steve: +1 for white background.

A "Path" span

The wiki has a "path" template. Do we want one? How about ...

The audacity.cfg file can be found in <yourhome>/Library/Application Support/audacity

Comparing spans and templates to make sure they are identical

This is the menu span.
The is the menu template with some text following it.
This is the key span.
This is the key template with some text following it.
This is the shortcut template, identical to the key template with some text following it.
Wiki uses 'shortcut', manual uses 'key'. This template allows transferring of text from the wiki to the manual without having to change every occurrence of the 'shortcut' template to the 'key' template.

This is the intro div. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the div.

This is the intro template. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the template.

This is the note div. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the div.

This is the note template. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the template.

This is the hint template. Wiki uses 'hint', manual uses 'note' - the existence of this template allows transferring of text from the wiki to the manual without having to change every occurrence of the 'hint' template to the 'note' template. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the template.

This is the alert div. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the div.

Alert This is the alert template. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the template.

This is the advice div. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the div.

Advice This is the advice template. Both these effects depend on correctly detecting the "silences" between tracks and this depends on setting their parameters appropriately for your track. See this example of adjusting Silence Finder parameters in order to place labels correctly between the songs.

Some text following the template.

testing the keyboard span

Double-clicking a field (or selecting it, then using keyboard F2) highlights the text in the field. This allows the text to be edited rather than merely replaced, and permits cut, copy or paste using standard system shortcuts or a right-click context menu. Use keyboard Home, End or arrow keys to navigate to individual characters. Once a value field has been replaced or edited, press the Return key to select the next value field, or click in any other one to select it.

testing the keyboard template

Double-clicking a field (or selecting it, then using keyboard Template:Keyboard) highlights the text in the field. This allows the text to be edited rather than merely replaced, and permits cut, copy or paste using standard system shortcuts or a right-click context menu. Use keyboard Template:Keyboard, Template:Keyboard or Template:Keyboard keys to navigate to individual characters. Once a value field has been replaced or edited, press the Template:Keyboard key to select the next value field, or click in any other one to select it.