OSC_DSP_Waveform_CalculateSampleValue function is added.