Patent ID: 7805273

Claim:
A waveform generating apparatus that generates an analog signal based on fundamental waveform data including a predetermined number of samples, comprising: a phase difference calculating section that calculates a phase difference between an initial phase and a final phase of a signal resulting from FSK-modulating, based on a predetermined first set of modulation frequencies, an input data sequence that is to be modulated onto a signal that the waveform generating apparatus generates; a frequency calculating section that calculates a correction frequency corresponding to a value obtained by dividing i) a remainder of dividing the phase difference by 2π by ii) the predetermined number of samples; a waveform producing section that produces the fundamental waveform data that represents a waveform corresponding to a signal resulting from FSK-modulating the input data sequence based on a second set of modulation frequencies obtained by subtracting the correction frequency from the modulation frequencies in the first set; and an output section that outputs a signal repeating the waveform represented by the fundamental waveform data.