There are a lot of audio-resampling libraries available. My favorite in Secret Rabbit Code.
Audio resamplers keep the correct frequency of the resampled signals, so a 4KHz sine in the source, will remain a 4KHz sine in the destination.
This time, however, I need to resample a sampled IF/RF signal.
The sampled signal contains data originally in the frequency range f0-BW/2 to f0+BW/2, shifted to 0..BW.
Same as for audio signal, the correct frequency should be kept, but now "correct" means same distance from center - not distance from 0 as for sampled-audio.
For example [Edited]: If I resample a 64KSamples/Sec IF signal to 48KSamples/Sec, a tone in 16KHz will be in 12KHz after resampling, and a tone in 14KHz will be in 12KHz after resampling. The original range [4..28KHz] will now be [0..24KHz].
My question is: Can i reuse an audio-resampling code to do IF-resampling?
Note: My samples are real, not complex.