functional.rst 1.67 KB
Newer Older
1
.. py:module:: torchaudio.functional
jamarshon's avatar
jamarshon committed
2
3

torchaudio.functional
Vincent QB's avatar
Vincent QB committed
4
=====================
jamarshon's avatar
jamarshon committed
5
6
7
8
9

.. currentmodule:: torchaudio.functional

Functions to perform common audio operations.

10
11
Utility
-------
12

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.. autosummary::
   :toctree: generated
   :nosignatures:

   amplitude_to_DB
   DB_to_amplitude
   melscale_fbanks
   linear_fbanks
   create_dct
   mask_along_axis
   mask_along_axis_iid
   mu_law_encoding
   mu_law_decoding
   apply_codec
   resample
   loudness
29
30
31
32
33
34
   convolve
   fftconvolve
   add_noise
   preemphasis
   deemphasis
   speed
35
   frechet_distance
moto's avatar
moto committed
36
37
38
39
40
41
42

Forced Alignment
----------------
.. autosummary::
   :toctree: generated
   :nosignatures:

Zhaoheng Ni's avatar
Zhaoheng Ni committed
43
   forced_align
moto's avatar
moto committed
44
45
   merge_tokens
   TokenSpan
46
47
48
49


Filtering
---------
50

51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.. autosummary::
   :toctree: generated
   :nosignatures:

   allpass_biquad
   band_biquad
   bandpass_biquad
   bandreject_biquad
   bass_biquad
   biquad
   contrast
   dcshift
   deemph_biquad
   dither
   equalizer_biquad
   filtfilt
   flanger
   gain
   highpass_biquad
   lfilter
   lowpass_biquad
   overdrive
   phaser
   riaa_biquad
   treble_biquad

Feature Extractions
78
79
-------------------

80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.. autosummary::
   :toctree: generated
   :nosignatures:

   vad
   spectrogram
   inverse_spectrogram
   griffinlim
   phase_vocoder
   pitch_shift
   compute_deltas
   detect_pitch_frequency
   sliding_window_cmn
   spectral_centroid

Multi-channel
96
-------------
jamarshon's avatar
jamarshon committed
97

98
99
100
.. autosummary::
   :toctree: generated
   :nosignatures:
101

102
103
104
105
106
107
   psd
   mvdr_weights_souden
   mvdr_weights_rtf
   rtf_evd
   rtf_power
   apply_beamforming
108

109
Loss
110
111
----

112
113
114
.. autosummary::
   :toctree: generated
   :nosignatures:
115

116
   rnnt_loss
117

118
Metric
119
------
120

121
122
123
.. autosummary::
   :toctree: generated
   :nosignatures:
124

125
   edit_distance