from matplotlib import pyplot as plt
from pyfxr import Wavetable
from math import pi, sin

wt = Wavetable.from_function(
    lambda t: 0.75 * sin(t) + 0.25 * sin(3 * t + 0.5)
)
plt.plot(range(1024), memoryview(wt))