如何改变FFT的长度?
Args:
input: A `Tensor` of type `float32`. Float representation of audio data.
window_size: An `int`.
How wide the input window is in samples. For the highest efficiency
this should be a power of two, but other values are accepted.
stride: An `int`.
How widely apart the center of adjacent sample windows should be.
magnitude_squared: An optional `bool`. Defaults to `False`.
Whether to return the squared magnitude or just the
magnitude. Using squared magnitude can avoid extra calculations.
name: A name for the operation (optional).
Returns:
A `Tensor` of type `float32`.
3D representation of the audio frequencies as an image.
以上是函数的参数和返回值。
最佳答案
输入张量的形状是FFT长度
关于python - 使用tensorflow.contrib.framework.python.ops.audio_ops.audio_spectrogram生成频谱图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48660391/