added wavetable lookup