What I'd like to do is, take an existing sf2, extract all samples as .wav files, run a script to create new .wav files for each sample, and reassemble those new samples into an updated sf2, keeping all loop points, layers, etc. from the original sf2.