How to generate wavetables for setWavetable?

I am interested to make use of the synth->setWavetable feature and just wondering how to generate wavetables for it or where to find any wavetable that can be used straight away?

Is there anyway to convert wavetables from other synths such as Serum to the format that can be used by Playdate's audio engine?

Really appreciate if anyone can provide any help!

Thank you!