functional.rst 1.54 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
Zhaoheng Ni's avatar
Zhaoheng Ni committed
35
   forced_align
36
37
38
39


Filtering
---------
40

41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.. 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
68
69
-------------------

70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.. 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
86
-------------
jamarshon's avatar
jamarshon committed
87

88
89
90
.. autosummary::
   :toctree: generated
   :nosignatures:
91

92
93
94
95
96
97
   psd
   mvdr_weights_souden
   mvdr_weights_rtf
   rtf_evd
   rtf_power
   apply_beamforming
98

99
Loss
100
101
----

102
103
104
.. autosummary::
   :toctree: generated
   :nosignatures:
105

106
   rnnt_loss
107

108
Metric
109
------
110

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

115
   edit_distance