A bug fixed in the getWaveform() method.