added dtype parameters to stft ops; resample preserves dtype