Arbitrary sample-rates for outputting a chiptune wavetable

Maybe this can help you?