Document revision date: 10 November 2000
[Compaq] [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]
[OpenVMS documentation]

DECwindows Motif for OpenVMS Applications Guide


Previous Contents Index

Exiting CDA Viewer

To exit CDA Viewer, choose Quit from the File menu.


Chapter 6
Using Clock


Clock displays the time (in both analog and digital format) and the date. You can change the Clock display to suit your needs. You can also set Clock's alarm to remind you of appointments.

This chapter describes how to

Starting Clock

To start Clock, choose Clock from Session Manager's Applications menu.

The Clock display appears on your screen. You can move and change the size of the display.


Customizing the Clock Display

You can customize the Clock display to include any combination of the date and time regions.

To change the Clock display, choose Display... from the Options menu.

Clock displays the Display Options dialog box.


Shaded (enabled) check buttons indicate the current settings. To change the setting, click MB1 on a check button or its label. For example, if you want only the analog clock displayed and the Analog, Digital, and Date check buttons are shaded, click on the Digital and Date check buttons to disable those settings.

To use the current settings, click on OK. To return to the date and time display without changing any settings, click on Cancel.

If you disable the menu bar, you can use a pop-up menu to customize the Clock display:

  1. Place the pointer anywhere in the Clock display.
  2. Press and hold MB3. A pop-up menu appears.
  3. Drag to the Display... menu item.
  4. Release MB3. The Display Options dialog box appears.

To save the new settings and the size and placement of the Clock display on the screen:

  1. Make any desired changes to the size, position, and settings of the Clock display.
  2. Choose Save Settings from the Options menu or the pop-up menu.

To restore the system defaults, choose Restore System Settings from the Options menu or the pop-up menu.

Setting the Alarm

You can set the alarm to remind you of an appointment.

To set the alarm

  1. Choose Alarm... from the Options menu.
    The Alarm Options dialog box appears.
  2. In the entry box for the hour of the day, type the hour you want the alarm to sound.
    You can use a 12-hour clock, in which case you need to specify AM or PM, or you can use a 24-hour clock (military time).
    To erase a number that you previously entered or to correct typing mistakes, use the Delete key (<X|).
  3. In the entry box for the minutes of the hour, finish entering the time you want the alarm to sound.
  4. If you are using a 12-hour clock or if the time you specify is earlier than 13:00, click on either the AM or PM radio button.
  5. To display a message on your screen when the alarm sounds, type your message in the Alarm Message entry box. Alarm messages can contain up to 200 characters.
  6. To use the current settings, click on OK. To return to the date and time display without changing the previous settings, click on Cancel.

When the alarm sounds, click on OK in the dialog box to clear the alarm message from your screen.

Exiting Clock

To exit Clock, choose Exit from the File menu or the pop-up menu.


Chapter 7
Using DECsound


DECsound is a software application that you can use to play and record audio messages, which you can mail to other users or include in documents.

This chapter describes how to

Starting DECsound

You can start a DECsound session in any of the following ways:

Table 7-1 Starting DECsound Sessions from the Command Line Using Qualifiers
Qualifier Description
-file file-spec Starts a DECsound session. If the file exists, the DECsound window displays the recording. If the file does not exist, DECsound creates a new recording. If you do not specify a file type, DECsound adds the default .AUD file type.
-headphone Plays the DECsound recording to the headphone jack on your workstation. DECsound ignores the -headphone qualifier if you do not also specify the -play qualifier.
-icon Creates a DECsound file that includes an icon. This qualifier is useful when you make recordings that you want to include in DECwrite documents, because the resulting data block in the document displays an icon that indicates the presence of a DECsound recording. This option is available for DECwrite Version 2.1 only.

If you do not insert the icon, the DECsound data block can be difficult to locate in a document. However, if you do insert the icon, the icon is also displayed when you print the document.

-play file-spec Plays the specified file without displaying the DECsound window.
-speaker Plays the DECsound recording on your workstation's built-in speaker. DECsound ignores the -speaker qualifier if you do not also specify the -play qualifier.
-volume n Specifies the playback volume, where n is an integer between 0 and 100. DECsound ignores the -volume qualifier if you do not also specify the -play qualifier.

Note

You can specify either the -speaker qualifier or the -headphone qualifier, but you must not specify both. If you specify both of these qualifiers, DECsound uses the one that is last in the command line.

The following example shows how to invoke DECsound to play the BIRDS.AUD file at a playback volume of 50 without displaying the DECsound window:


$ DECSOUND -play BIRDS.AUD -volume 50 

DECsound Files

DECsound files have a file type of .AUD by default. When you specify a file name for a DECsound file, you do not need to enter the default .AUD file type. DECsound adds the default file type automatically.

DECsound can also read audio files created on Suntm workstations. These files have a file type of .AU, so when you open these files, you must specify the .AU file type.

DECsound creates files in the DDIF format. DDIF (Digital Document Interchange Format) is the standard document format used by CDA, a component of Digital's NAS architecture that defines standards for compound documents and enables file interchange among all compliant applications.

DECsound is supplied with a number of sample files of file types .AUD and .AU. These files are located in the DECW$EXAMPLES directory.

Clipboard

Like many other windows-based applications, DECsound includes a clipboard, which is a temporary (invisible) storage area. When you cut or copy part of a DECsound recording, DECsound stores the selected part of the recording in the clipboard. When you use the Paste menu item, DECsound pastes the contents of the clipboard into the recording.

The clipboard stores only the most recently cut or copied part of a recording. When you cut or copy part of a recording to the clipboard, the recording overwrites the current contents of the clipboard.

Each DECsound session uses a separate clipboard; you cannot use the Edit menu to cut and paste between two DECsound sessions. If you need to cut and paste between two DECsound sessions, you can do so using the mouse, as follows:

  1. Choose Display Energy or Display Samples from the View menu in both DECsound sessions to display the waveforms.
  2. Drag MB1 across the waveform to select the part of the recording you want to cut from the first DECsound session.
  3. Position the pointer at the spot in the second waveform where you want to insert the part of the recording.
  4. Click MB2 to paste this recording to the second DECsound session.

Using the DECsound Control Panel

When you start a DECsound session, DECsound displays a control panel, as follows:


The main functions of the control panel are similar to those of a tape recorder.

The control panel also contains a Save button, an Exit button, and sliders for the following:

Making an Audio Recording

This section describes how to make an audio recording in DECsound.

To make a DECsound recording, follow these steps:

  1. Choose New from the File menu to start a new recording.
  2. Click on the Record button and speak into the microphone or headset.
  3. Click on the Stop button to stop recording.
    The Position slider shows the length of the recording.

Making Long Recordings

DECsound allows you to specify the maximum length of a recording using the Max. Length slider in the Settings dialog box, as shown in the following figure:


The size of a recording is limited by the amount of free memory available on the system. In some cases, while you are making a long recording, DECsound displays a message informing you that there is insufficient memory before your recording reaches the maximum recording length. If this happens, take one of the following actions:

When you open a DECsound recording that is longer than the maximum recording length, you cannot record new material onto the end of that recording. However, you can bypass this problem by following these steps:

  1. Choose Display Energy or Display Samples from the View menu.
    DECsound displays the waveform for the recording.
  2. Choose Select All and then Cut from the DECsound Edit menu to transfer the record clipboard.
  3. Click on the Record button to record the message that you want to add to the existing recording.
  4. Click on the Stop button when you finish recording.
  5. Position the pointer at the start of the recording, and choose Paste from the Edit menu to insert the original recording.

Inserting New Material in a Recording

If the DECsound window already contains a recording when you click on the Record button, DECsound adds the new recording to the end of the current recording. To insert new material in a recording, follow these steps:

  1. Position the pointer where you want to insert the new material and click MB1.
  2. Drag MB1 to the end of the recording, and choose Cut from the Edit menu to remove the selected part of the recording.
  3. Click on the Record button and record the new material.
  4. Position the pointer at the end of the recording, and choose Paste from the Edit menu to complete the new recording.

Playing an Audio Recording


DECsound allows you to play all or part of a recording. To play all of a recording, click on the Play button.

The Position slider adjusts to indicate the current position in the recording.

Play part of a recording as follows:

  1. Choose Display Energy or Display Samples from the View menu.
    DECsound displays the waveform for the recording. The following figure shows the Display Samples waveform, which displays the amplitude of the audio waveform:


    Note that the Zoom slider is also displayed. The Zoom slider allows you to view the DECsound waveform in greater or lesser detail. Move the slider to the left to view the waveform in greater detail. Move the slider to the right to view the waveform in lesser detail.
  2. Select part of the recording by dragging MB1 across the waveform.
    DECsound highlights the selected part of the recording.
  3. Click on the Play button.
    DECsound plays only the part of the recording that you have selected.

Editing an Audio Recording

DECsound allows you to perform editing operations on your recordings. This section describes how to

Selecting a Recording

DECsound allows you to select all or part of a recording for editing, as follows:

Cutting a Recording

DECsound allows you to cut all or part of a recording, as follows:

Copying a Recording

DECsound allows you to copy all or part of a recording, as follows:

Deleting a Recording

DECsound allows you to delete all or part of a recording as follows:

Using LiveLink Connections

You can include DECsound recordings in DECwrite documents using LiveLink connections. A LiveLink connection puts a DECsound recording into a document. The following are examples of when you might find this feature to be useful:

When you create a LiveLink connection to a DECsound recording, the recording is maintained in a DECsound file. If you update the recording, the document is updated automatically to include the new recording.

When you insert a LiveLink connection into a DECsound file in a DECwrite Version 2.1 document, you can insert an icon that indicates the presence of a DECsound recording in the document.

If you do not insert the icon, the DECsound data block may be difficult to find in a document. However, if you do insert the icon, the icon is also displayed when you print the document.

Making LiveLink Connections from DECwrite

To create a LiveLink connection between a DECwrite document and a DECsound recording, follow these steps:

  1. Choose Links from the File menu.

    Note

    You must have the Full Menus option turned on to display the Links menu. To turn on this option, choose Full Menus from the DECwrite Options menu.


    DECwrite displays the Links submenu, as follows:


  2. Choose Link... from the Links submenu.
    DECwrite displays the Link dialog box. For information about the Link dialog box, click on the Help button in the dialog box.
  3. Click on a file name in the list box. If you want to create a new DECsound recording, enter the name of the file in the Selection entry box.
  4. Click on the Options... button in the dialog box.
    DECwrite displays the Link Options subdialog box. For information about the Link Options subdialog box, click on the Help button in the subdialog box.
    In the Link Options subdialog box, enter the LiveLink connection information, as follows:
    1. Specify the file location type for the file that contains the recording to which you want to link.
      The location also affects the way that the audio file is treated if you mail the DECwrite document.
    2. Specify DECsound in the Application Name entry box, as follows:


      SYS$SYSTEM:DECSOUND 
      

    3. If you want the DECwrite document to display an icon to indicate the presence of the DECsound recording in the document, specify the -icon qualifier in the Parameters entry box, as follows:


      -icon 
      

      Note

      This option is available for DECwrite Version 2.1 only.
    4. Click on OK to dismiss the Link Options subdialog box.
  5. Set the Invoke Application toggle button to the On state if you want to invoke DECsound.
  6. Set the Keep Natural Size toggle button to the Off state if you want to specify the size of the DECsound icon that is displayed in the DECwrite document.
  7. Click on OK in the Link dialog box.
  8. Position the pointer at the spot in the document window where you want the DECsound data block to be displayed, drag MB1 to size the data block, then release MB1.


Previous Next Contents Index

  [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]  
  privacy and legal statement  
5634PRO_005.HTML