functional.rst 2.78 KB
Newer Older
jamarshon's avatar
jamarshon committed
1
2
3
4
5
6
7
8
9
10
.. role:: hidden
    :class: hidden-section

torchaudio.functional
======================

.. currentmodule:: torchaudio.functional

Functions to perform common audio operations.

11
:hidden:`istft`
jamarshon's avatar
jamarshon committed
12
13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

14
.. autofunction:: istft
jamarshon's avatar
jamarshon committed
15

16
:hidden:`spectrogram`
jamarshon's avatar
jamarshon committed
17
18
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

19
.. autofunction:: spectrogram
jamarshon's avatar
jamarshon committed
20

21
:hidden:`amplitude_to_DB`
jamarshon's avatar
jamarshon committed
22
23
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

24
.. autofunction:: amplitude_to_DB
jamarshon's avatar
jamarshon committed
25

26
:hidden:`create_fb_matrix`
jamarshon's avatar
jamarshon committed
27
28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

29
.. autofunction:: create_fb_matrix
jamarshon's avatar
jamarshon committed
30

31
:hidden:`create_dct`
jamarshon's avatar
jamarshon committed
32
33
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

34
.. autofunction:: create_dct
jamarshon's avatar
jamarshon committed
35

36
:hidden:`mu_law_encoding`
jamarshon's avatar
jamarshon committed
37
38
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

39
.. autofunction:: mu_law_encoding
jamarshon's avatar
jamarshon committed
40

41
:hidden:`mu_law_decoding`
jamarshon's avatar
jamarshon committed
42
43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

44
.. autofunction:: mu_law_decoding
jamarshon's avatar
jamarshon committed
45

46
:hidden:`complex_norm`
jamarshon's avatar
jamarshon committed
47
48
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

49
.. autofunction:: complex_norm
jamarshon's avatar
jamarshon committed
50

51
:hidden:`angle`
jamarshon's avatar
jamarshon committed
52
53
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

54
.. autofunction:: angle
jamarshon's avatar
jamarshon committed
55

56
:hidden:`magphase`
jamarshon's avatar
jamarshon committed
57
58
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

59
.. autofunction:: magphase
jamarshon's avatar
jamarshon committed
60

61
:hidden:`phase_vocoder`
jamarshon's avatar
jamarshon committed
62
63
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

64
.. autofunction:: phase_vocoder
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

:hidden:`lfilter`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: lfilter

:hidden:`biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: biquad

:hidden:`lowpass_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: lowpass_biquad

:hidden:`highpass_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: highpass_biquad
85

moto's avatar
moto committed
86
87
88
89
90
:hidden:`allpass_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: allpass_biquad

91
92
93
94
95
:hidden:`equalizer_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: equalizer_biquad

96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
:hidden:`bandpass_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: bandpass_biquad

:hidden:`bandreject_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: bandreject_biquad

:hidden:`band_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: band_biquad

:hidden:`treble_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: treble_biquad

:hidden:`deemph_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: deemph_biquad

:hidden:`riaa_biquad`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: riaa_biquad

:hidden:`contrast`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: contrast

131
132
133
134
135
:hidden:`dcshift`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: dcshift

136
137
138
139
140
:hidden:`overdrive`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: overdrive

141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
:hidden:`mask_along_axis`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: mask_along_axis

:hidden:`mask_along_axis_iid`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: mask_along_axis_iid

:hidden:`compute_deltas`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: compute_deltas

:hidden:`detect_pitch_frequency`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: detect_pitch_frequency
wanglong001's avatar
wanglong001 committed
160
161
162
163

:hidden:`sliding_window_cmn`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

164
.. autofunction:: sliding_window_cmn