Data Generation

The data consists of synthetic sinusoidal pulses in Gaussian noise - two kinds of pulses, a low frequency (LF) pulse of longer duration and a shorter high-frequency (HF) pulse. There are two data classes. In the first, the low-frequency pulse comes first, and in the second, the high-frequency pulse comes first. There are also slight differences in pulse center frequencies and durations. The function software/mrhmm_testdata.m creates the data. To create 5 events of 5000 samples from class iclass, use
  X=mrhmm_testdata(5,5000,iclass);
  fs=6000; % sample rate
The sample rate will get used in case we need to play the data as sound, or in case we need to create MFCC features. In Figure 14.6 (top) we see a typical spectrogram of class 1.