A method of performing wavetable music synthesis in a system comprising a system memory storing wavetable data samples, an I/O bus, and a system audio device, said system audio device having an I/O bus interface coupled to said I/O bus, a synthesizer, a plurality of buffers coupled to said I/O bus interface and said synthesizer, and a buffer manager coupled to said I/O bus interface, said synthesizer, and said plurality of buffers, comprising:
- said synthesizer generating a request to said buffer manager for one or more wavetable data samples;
- said buffer manager determining if said one or more samples reside in said plurality of buffers;
- said buffer manager attempting to retrieve said one or more samples from said system memory if said buffer manager determines said one or more samples do not reside in said plurality of buffers;
- said synthesizer calculating a surrogate value if said buffer manager is unable to retrieve said one or more wavetable data samples from said system memory within a desired frame time, wherein said surrogate value avoids producing audible artifacts in sound generated by said synthesizer;
- said synthesizer outputting said surrogate value.