9702 – Playback Speed Factor

When this word is spoken, the word that follows it is used as a playback speed multiplier against the playback rate specified in the WAV file header. The word value supplied is specified as a percentage of the playback speed with 0100 (100%) being the normal playback rate.

The value specified can range from 1 to 255%, but if the resulting playback rate exceeds the sample rate limits for the WAV file, the playback rate will be limited to appropriate maximum playback rate.

The playback speed factor is a static value which defaults to 100% on reset. Whenever a user supplied value is specified, that playback speed factor remains as the new playback rate until either a new factor is specified, or until a reset occurs.

For example, “{PW}15 9960 9702 0120” would set the playback rate to 120% of normal speed.

9710 – Play Random File

When this control word is issued, the next two word values are used as a starting and ending word value for the controller to psuedo-randomly play an audio file within the inclusive range supplied. There is no restriction on the start or end value other than that they need to be in the range of 0001 through 9699.

Due to the integer math used, and the fact that any pseudo-random number generator has its limitations, the user will find that the span will affect the apparent randomness of the file chosen. Spans that represent a power of two will appear to give the best degree of randomness, but the span may be of any desired size and should still to be sufficiently random for the purposes of this function.

Some examples:

{PW} 15 9960 9710 3000 3010 ;play one audio file from the range of 3000 – 3010 {PW} 15 9960 9710 1000 4000 ;play one audio file from the range of 1000 - 4000 {PW} 15 9960 9710 4021 4022 ;play either audio file 4021 or 4022

Note: This will also select and play CW files included within the selection range, so it is conceivable to mix audio tracks with CW messages if desired.

7KDAB, Version 2.0, 19-Aug-2007

© Vyex LLC, 2003-2007

14

Page 19
Image 19
FARGO electronic 7KDAB manual Playback Speed Factor, Play Random File