functional.rst 1.49 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
.. autosummary::
   :toctree: generated
   :nosignatures:

   amplitude_to_DB
   DB_to_amplitude
   melscale_fbanks
20
   barkscale_fbanks
21
22
23
24
25
26
27
28
29
30
31
32
33
   linear_fbanks
   create_dct
   mask_along_axis
   mask_along_axis_iid
   mu_law_encoding
   mu_law_decoding
   apply_codec
   resample
   loudness


Filtering
---------
34

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.. 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
62
63
-------------------

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.. autosummary::
   :toctree: generated
   :nosignatures:

   vad
   spectrogram
   inverse_spectrogram
   griffinlim
   phase_vocoder
   pitch_shift
   compute_deltas
   detect_pitch_frequency
   sliding_window_cmn
   compute_kaldi_pitch
   spectral_centroid

Multi-channel
81
-------------
jamarshon's avatar
jamarshon committed
82

83
84
85
.. autosummary::
   :toctree: generated
   :nosignatures:
86

87
88
89
90
91
92
   psd
   mvdr_weights_souden
   mvdr_weights_rtf
   rtf_evd
   rtf_power
   apply_beamforming
93

94
Loss
95
96
----

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

101
   rnnt_loss
102

103
Metric
104
------
105

106
107
108
.. autosummary::
   :toctree: generated
   :nosignatures:
109

110
   edit_distance