Import - Export Preferences
- Peter 11Nov09: Checked for spelling/typos/consistency.
- Peter 24Nov09: Checked and repaired Links
- Bill 06Apr11: Need new image with Extended Import in the list and Allegro export section
- Need description of the Allegro export section.
Roger Dannenburg wrote on -devel:
The "Allegro" (.gro) file format is an ASCII text representation for the
information in Note Tracks. By design, the Allegro representation is a
superset of MIDI. The text format for Allegro can represent time in
terms of beats or in terms of seconds. For example, time appears in
seconds in the line:
T1.3330 V0 K66 P66 U0.6660 L127
meaning play key number 66 at time (T) 1.333s for duration (U) 0.666s. Alternatively, time appears in beats in the line:
TW0.5000 V0 K66 P66 Q1.0000 L127
meaning play key number 66 at time (T) 0.5 whole notes (W) for duration 1 quarter notes (Q). The two representations are equivalent to within rounding error, and the translation between beats and seconds is determined by the tempo data, which is also part of the file, so the choice between seconds or beats is mainly for convenience to human readers.
When importing audio files
Audacity always makes a copy of compressed files like MP3, OGG and FLAC when it imports them. The data is copied either into the temporary folder, or into the _data folder of an open project. Uncompressed files (WAV or AIFF) are very much larger, so may lead to a shortage of disk space if copied in. Audacity therefore allows you to choose from the following two options when importing WAV or AIFF files:
- Make a copy of uncompressed audio files before editing (safer): Audacity makes a copy of all imported file(s), so you can then move, rename or delete them if you wish. Also choose this option if you need to open your Audacity .aup project file on another computer, or send it to someone else. Note: you don't need to choose this option if you are sending an exported audio file like an MP3 to someone else.
- Read uncompressed audio files directly from the original (faster): Audacity reads imported files from the computer folder you first imported them from, without copying them in. Therefore with this option set, you must not move, rename or delete imported uncompressed files, or the folder they are in. The advantage of this option is that long files can be imported in only a few seconds, using On-Demand Loading.
- Normalize all tracks in project: The imported file (in any format) and all audio tracks already on screen will be normalized to your current setting for the normalize effect.
When exporting tracks to an audio file
- Always mix all tracks down to stereo or mono channel(s): This is Audacity's default behavior and means that if your project contains only mono tracks panned to center, they will be mixed upon export to a file containing a single mono channel. The audio will still play equally out of both speakers on most systems. If you have any stereo tracks in your project (or any mono tracks panned away from center) the exported file will be stereo, containing two channels (left and right).
- Use custom mix: When this option is enabled, an Advanced Mixing Options window appears immediately after the completing the File Export Dialog. Advanced Mixing gives you much greater flexibility in mapping your audio tracks to specific output channels in the exported file. In particular it allows export of multichannel files (that is, having more than two channels of audio) in WAV, AIFF, OGG and FLAC formats.
- Show Metadata Editor prior to export step: By default, the Metadata Editor pops up every time you export a file with the or commands. Uncheck this option if you don't want to add embedded information tags to your files.
When exporting track to an Allegro (.gro) file
The Allegro (.gro) file format is an ASCII text representation for the information in Note Tracks. By design, the Allegro representation is a superset of MIDI. The text format for Allegro can represent time in terms of beats or in terms of seconds.
The translation between beats and seconds is determined by the tempo data, which is also part of the file, so the choice between seconds or beats is mainly for convenience to human readers.
Warning dialog on first use of the Import Audio command
On the first use of the command to import uncompressed files, the preference is set to "copy in" (safer) and the following dialog is presented explaining the difference between copy-in and read-directly and asking which method should be used. This setting will be stored in your Audacity Preferences. If the check-box at the bottom is left un-checked then this warning dialog will re-appear the next time the command is used to import uncompressed audio.
Bill 12Apr11: We probably don't want this here, as it is now documented in Warnings Preferences. Leaving it here for now until we decide just what to do with this dialog, and if we prefer Peter's text over mine.
Ed> 12Apr11: I like it here and see no reason not to have it both places. This is the page linked-to by the front page via Menu->Import.
Peter 13Apr11: I placed it here originally because, with the advent of 1.3.13 and later, when users install or upgrade to the latest Beta - then they will be forced to use this dialog to actually set their chosen import preference method. So it is not just a warning, from now on it is a fundamental part of the setting of this particular preference. Further, in terms of user navigation, I think the user is more likely to explore this page to try to understand import settings rather than looking to the "Warnings Preferences" page. So my vote is for retaining it here in addition to the "Warnings Preferences" page. If we do remove it from this page then I believe that we will still need some text and a link to the appropriate section of the "Warnings" Preferences page. If we do not retain it here then it will be necessary to change the link to show the example warning message, currently to this page, on the Audacity Projects page. I'm happy to do that, but I think the Audacity Projects page reads better pointing to this page - and gives the reader a better flow through.
Peter 13April:I also vote against Gale's suggestion on the Quality list recenently where he suggested that the best place to document this warning would be in the File>Open command documentation. I am against this as I agree strongly with Steve that the Open command as it currently is operates as a compound command (Open Project, followed by a covert "Import") - and that it should be restricted to purely Opening projects - as documented on one on the Proposals pages in the Wiki - see: Menu Reorganization

