File: functional.rst

package info (click to toggle)
pytorch-audio 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,696 kB
  • sloc: python: 61,274; cpp: 10,031; sh: 128; ansic: 70; makefile: 34
file content (125 lines) | stat: -rw-r--r-- 1,715 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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
.. py:module:: torchaudio.functional

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

.. currentmodule:: torchaudio.functional

Functions to perform common audio operations.

Utility
-------

.. 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
   convolve
   fftconvolve
   add_noise
   preemphasis
   deemphasis
   speed
   frechet_distance

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

   forced_align
   merge_tokens
   TokenSpan


Filtering
---------

.. 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
-------------------

.. 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
-------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   psd
   mvdr_weights_souden
   mvdr_weights_rtf
   rtf_evd
   rtf_power
   apply_beamforming

Loss
----

.. autosummary::
   :toctree: generated
   :nosignatures:

   rnnt_loss

Metric
------

.. autosummary::
   :toctree: generated
   :nosignatures:

   edit_distance