## Preference Dialog

User's Guide > Dialog Reference > Preference Dialog

### File

Setting a default format when Format Dialog appears, etc.

Use the default format in reading
  Turn on if you want to use the default format specified in this dialog forcedly when spwave cannot detect the format automatically.
File Format
  File format. For more information, see Format section.
Bits/Sample
  Bits per sample of the input file. When the selected file format is u-law or a-law, this value is ignored. spwave converts bits/sample into 16 bits/sample internally when the file has a bits/sample lower than 16 bits.
  Select 64, if the file includes floating point numbers.
Sampling Frequency
  Sampling frequency of the input file.
Number of Channels
  Number of channels of the input file.

### Look

Look
  Select the look of the waveform area.
Font for main canvas
  Specify a font of the main canvas.
Window Size
  Specify the size of the waveform area. The format is `Width' x `Height'.
Print Size
  Specify the size of printing. The format is `Width' x `Height'.
Information area width
  Specifia the width of the information area.
Swap Alt key and Ctrl key of shortcuts
  Turn on if you want to swap the alt key and the ctrl key of shortcuts. This setting takes effect after restarting.
Scroll left by wheel down
  Turn on if you want to scroll left by wheel down of a mouse.
Use a tool bar
  Turn on if you want to use a tool bar.

### Display

Display a level meter
  Turn on if you want to display a level meter.
Draw times of a selected region
  Turn on if you want to draw times of a selected region.
Draw a length of a selected region
  Turn on if you want to draw a length of a selected region.
Draw a scale
  Turn on if you want to draw a scale.
Draw a grid
  Turn on if you want to draw a grid.
Display amplitude in percent
  Turn on if you want to display amplitude in percent.
Use logarithmic frequency axis as default
  Turn on if you want to use logarithmic frequency axis as default for data with frequency axis.
Draw a piano keyboard for spectrogram as default
  Turn on if you want to draw a piano keyboard for spectrogram as default.
Locate the spectrogram keyboard at the right of the spectrogram
  Turn on if you want to locate a piano keyboard for spectrogram at the right of the spectrogram.
Draw a piano keyboard for spectrum as default
  Turn on if you want to draw a piano keyboard for spectrum as default.
Locate the spectrum keyboard at the right of the spectrum
  Turn on if you want to locate a piano keyboard for spectrrum at the top of the spectrum.

### Sound

Use the play command forcedly
  Turn on if you want to use the play command forcedly. The play command is not valid on some enviroments such as Linux, Windows, etc. unless this item is checked.
Play command
  Specify the play command. When you use the play command, the long region cannot be played.
  The command can include the following control characters.
  %F, %s
    File name. The file is regarded as 16 bit linear raw file.
  %W
    WAVE file name. The file is regarded as 16 bit linear WAVE format.
  %H
    Sampling frequency in Hz.
  %K
    Sampling frequency in kHz.
  %C
    Number of channels. The stereo file cannot be played without this character.
  Example:

            play_sound -f %H %F

  In this example, the play command is "play_sound" which recognizes a sampling frequency in Hz through -f option and can play a 16 bit linear raw file.
Audio driver
  Select the audio driver. When nothing is selected, the default audio driver will be used.
Audio buffer size
  Specify the audio buffer size. Some environments ignore this value.
Use loop play as default
  Turn on if you want to use loop play as default.
Use synchronous play as default
  Turn on if you want to use synchronous play as default.
Draw a cursor on playing
  Turn on if you want to draw a cursor on playing.
Use threads for processing
  Turn on if you want use threads for processing. If the thread processing makes spwave unstable, uncheck this item.
Use low level threads
  Turn on if you want use lowlevel threads for processing. This item is not displayed in some environments. If the non-lowlevel thread processing makes spwave unstable, uncheck this item.

### Label

Display the information area as default
  Turn on if you want to display the information area as default in opening a new window.
Display the information area for frequency data
  Turn on if you want to display the information area for frequency data.
Link a selected label to a selection
  Turn on if you want to link a selected label to a selection.
Always ask before erasing a label
  Turn on if you want to display a dialog before erasing a label. If you don't want to display the dialog, turn off this item. Please be careful because undo function doesn't take effect for erasing labels.
Show Save As dialog in first label save
  Although the loaded label file is overwritten without dialog for "Save" function when this item is turned on, the "Save As" dialog will be shown in the first execution of "Save" function for the loaded label file. If you want to be careful in overwriting, turn on this item.
Add default label suffix in Save As dialog
  Add default label suffix in the "Save As" dialog. This item is valid in the first saving and the case where the file name of the label has no extention. The normal label and the region label use the value of Default label file suffix and the value of Default region label file suffix, respectively. This item is introduced in version 0.9.
Load the default label file in the file directory
  Load the default label in the directory that the file to be opened is loaded. The label file name must have the name body of the sound file and the suffix of default label file suffix.
Default label file suffix
  Default suffix of the label file which is used in Load the default label file in the file directory. This item is invalid when the value is a blank. This setting doesn't work in versions before 0.9 because of a bug.
Default region label file suffix
  Default suffix of the region label file which is used in Load the default label file in the file directory. This item is invalid when the value is a blank. Note that the item is of no effect if the value is the same as that of default label file suffix. This setting is introduced in version 0.9.

### Autosave

Autosave directory
  Directory to save the extracted file. This setting is useful when the input data is in the directory that cannot be written into, e.g. CD-ROM directory.
Autosave ID type
  This ID is the naming strategy of output files. Default value is ``2-Digit Serial Number'' such as 01, 02, 03, .... The 3-digit and 4-digit serial numbers are also available. ``Edge Points'' setting adds ID ``1234-5678'' to the file name when the selection starts from 1234 and ends at 5678.
Prefix of autosave ID
  Select prefix of autosave ID. For example, when the original file name is foo.wav and ID type is ``2-Digit Serial Number'', foo01.wav, foo02.wav, ... will be generated by no prefix setting, foo_01.wav, foo_02.wav, ... will be generated by prefix `_'.
Label file suffix
  Suffix of the log file. The default value is `_cut.txt'. In this case, `foo_cut.txt' is used for the original file `foo.wav'.
Write the full path into a label file
  The file name in the log file is not a full path as default. If you want to change this attribute, check here.
Autosave by drag & drop
  Turn on if you want to autosave by drag & drop.

User's Guide > Dialog Reference > Preference Dialog

Last modified: "2025-01-19 12:55:02 hideki"