1# Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14# ============================================================================== 15"""Signal processing operations. 16 17See the [tf.signal](https://tensorflow.org/api_guides/python/contrib.signal) 18guide. 19 20@@frame 21@@hamming_window 22@@hann_window 23@@inverse_stft 24@@inverse_stft_window_fn 25@@mfccs_from_log_mel_spectrograms 26@@linear_to_mel_weight_matrix 27@@overlap_and_add 28@@stft 29 30[hamming]: https://en.wikipedia.org/wiki/Window_function#Hamming_window 31[hann]: https://en.wikipedia.org/wiki/Window_function#Hann_window 32[mel]: https://en.wikipedia.org/wiki/Mel_scale 33[mfcc]: https://en.wikipedia.org/wiki/Mel-frequency_cepstrum 34[stft]: https://en.wikipedia.org/wiki/Short-time_Fourier_transform 35""" 36 37# pylint: disable=unused-import 38from tensorflow.python.ops.signal.dct_ops import dct 39from tensorflow.python.ops.signal.fft_ops import fft 40from tensorflow.python.ops.signal.fft_ops import fft2d 41from tensorflow.python.ops.signal.fft_ops import fft3d 42from tensorflow.python.ops.signal.fft_ops import fftshift 43from tensorflow.python.ops.signal.fft_ops import rfft 44from tensorflow.python.ops.signal.fft_ops import rfft2d 45from tensorflow.python.ops.signal.fft_ops import rfft3d 46from tensorflow.python.ops.signal.dct_ops import idct 47from tensorflow.python.ops.signal.fft_ops import ifft 48from tensorflow.python.ops.signal.fft_ops import ifft2d 49from tensorflow.python.ops.signal.fft_ops import ifft3d 50from tensorflow.python.ops.signal.fft_ops import ifftshift 51from tensorflow.python.ops.signal.fft_ops import irfft 52from tensorflow.python.ops.signal.fft_ops import irfft2d 53from tensorflow.python.ops.signal.fft_ops import irfft3d 54from tensorflow.python.ops.signal.mel_ops import linear_to_mel_weight_matrix 55from tensorflow.python.ops.signal.mfcc_ops import mfccs_from_log_mel_spectrograms 56from tensorflow.python.ops.signal.reconstruction_ops import overlap_and_add 57from tensorflow.python.ops.signal.shape_ops import frame 58from tensorflow.python.ops.signal.spectral_ops import inverse_stft 59from tensorflow.python.ops.signal.spectral_ops import inverse_stft_window_fn 60from tensorflow.python.ops.signal.spectral_ops import stft 61from tensorflow.python.ops.signal.window_ops import hamming_window 62from tensorflow.python.ops.signal.window_ops import hann_window 63# pylint: enable=unused-import 64