02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter —Program Instructions<br />

SOUND<br />

Purpose Statement for making the printer’s beeper produce a sound specified in<br />

regard of frequency and duration.<br />

Syntax SOUND,<br />

is the frequency of the sound in Hz.<br />

is the duration of the sound in periods of 0.020 sec. each (max.<br />

15,0000 = 5 minutes).<br />

Remarks This statement allows you include significant sound signals in your programs,<br />

for example to notify the operator that various errors have occurred.<br />

A sound with approximately the specified frequency will be produced for<br />

the specified duration. If the program encounters a new SOUND statement,<br />

it will not be executed until the previous sound has been on for the<br />

specified duration. No sound will come from the EasyCoder PD41, yet a<br />

time delay equal to the duration specified will occur.<br />

The SOUND statement even allows you to make melodies, although the<br />

musical quality may be somewhat limited. The following table illustrates<br />

the frequencies corresponding to the notes in the musical scale. To create a<br />

period of silence, set the frequency to value higher than 9,999 Hz.<br />

Key Hz Key Hz Key Hz Key Hz<br />

C 131 C 262 C 523 C 1047<br />

C# 138 C# 277 C# 554 C# 1109<br />

D 147 D 294 D 587 D 1175<br />

D# 155 D# 311 D# 622 D# 1245<br />

E 165 E 330 E 659 E 1319<br />

F 175 F 349 F 699 F 1397<br />

F# 185 F# 370 F# 740 F# 1480<br />

G 196 G 392 G 784 G 1568<br />

G# 208 G# 415 G# 831 G# 1662<br />

A 220 A 440 A 880 A 1760<br />

A# 233 A# 466 A# 933 A# 1865<br />

B 247 B 494 B 988 B 1976<br />

(small octave) (one-line octave) (two-line octave) (three-line octave)<br />

Example The tune “Colonel Boogie" starts like this:<br />

10 SOUND 392,10<br />

20 SOUND 330,15<br />

30 SOUND 330,10<br />

40 SOUND 349,10<br />

50 SOUND 392,10<br />

60 SOUND 659,18<br />

70 SOUND 659,18<br />

80 SOUND 523,25<br />

0 <strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!