forked from gnuradio/gnuradio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvocoder.dox
33 lines (23 loc) · 973 Bytes
/
vocoder.dox
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
/*! \page page_vocoder Voice Coders and Decoders (Vocoders)
\section vocoder_introduction Introduction
This is the gr-vocoder package. It contains all available vocoders in
GNU Radio. The Python namespaces is in gnuradio.vocoder, which would be
normally imported as:
\code
from gnuradio import vocoder
\endcode
See the Doxygen documentation for details about the blocks available
in this package.
A quick listing of the details can be found in Python after importing
by using:
\code
help(vocoder)
\endcode
\section vocoders_using Using the vocoders
Note that most vocoders use short inputs instead of floats. This means you
must convert audio signals from float to short by using a type conversion
and a scaling factor. See the examples.
The format of the encoded audio is different for every encoder. See the
individual block's documentation for the data format. Encoded data is usually
a vector of fixed length, and can either be packed or unpacked.
*/