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 37from __future__ import absolute_import 38from __future__ import division 39from __future__ import print_function 40 41# pylint: disable=unused-import 42from tensorflow.python.ops.signal.dct_ops import dct 43from tensorflow.python.ops.signal.dct_ops import idct 44from tensorflow.python.ops.signal.fft_ops import fft 45from tensorflow.python.ops.signal.fft_ops import fft2d 46from tensorflow.python.ops.signal.fft_ops import fft3d 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 irfft 51from tensorflow.python.ops.signal.fft_ops import irfft2d 52from tensorflow.python.ops.signal.fft_ops import irfft3d 53from tensorflow.python.ops.signal.fft_ops import rfft 54from tensorflow.python.ops.signal.fft_ops import rfft2d 55from tensorflow.python.ops.signal.fft_ops import rfft3d 56from tensorflow.python.ops.signal.mel_ops import linear_to_mel_weight_matrix 57from tensorflow.python.ops.signal.mfcc_ops import mfccs_from_log_mel_spectrograms 58from tensorflow.python.ops.signal.reconstruction_ops import overlap_and_add 59from tensorflow.python.ops.signal.shape_ops import frame 60from tensorflow.python.ops.signal.spectral_ops import inverse_stft 61from tensorflow.python.ops.signal.spectral_ops import inverse_stft_window_fn 62from tensorflow.python.ops.signal.spectral_ops import stft 63from tensorflow.python.ops.signal.window_ops import hamming_window 64from tensorflow.python.ops.signal.window_ops import hann_window 65# pylint: enable=unused-import 66