Sound

 

Instrument Type:

Processed in PC

Related Commands:

---

Description:

The Sound command generates an acoustic beep of selectable frequency and duration that is heard on the internal loudspeaker of the PC. You can use a beep to acoustically monitor the progress of a program, by setting Sound commands at key positions in the file. Combining the Sound command with a Trigger command allows you, e.g., to "hear" a peak elute. Select different frequencies for leading and trailing peak edges to distinguish them acoustically.

Note:

Windows XP (64 bit), Windows Vista and Windows 7 operating systems do not support the Sound command.

 

Example:

 

-2.000 Flow =            1.000

 

-2.000 %B =              50

 

0.000  Inject

 

0.000  Trigger Up        UV-VIS-1 > 20

 

       Sound     Frequency=440, Duration=1

 

       EndTrigger

 

       Trigger Down      UV-VIS-1 < 40

 

       Sound     Frequency=880, Duration=1

 

       EndTrigger

 

0.500  Acquisition On

 

...    ...

 

8.000  Acquisition Off

 

9.000  Program End

Function:

The Sound command allows you to play WAV files. WAV files are part of the Windows installation and contain various acoustic signals. Numerous example files are supplied, for example, in the WINNT/MEDIA directory (full Windows installation).

If the PC is not equipped with a sound card, the loudspeaker may not be able to process the beep generated by the Sound command. In this case, a default beep is generated, instead.

Also, refer to Practical Tips for Device Control  Trigger Commands.

Parameters:

 

File

Sound File (normally WAV file)

Frequency

In Hertz [Hz] (concert pitch a = 440 Hz

Duration

In seconds [s].