Changeset 2837
- Timestamp:
- 02/15/07 16:34:24 (6 years ago)
- Location:
- components/CVSDEncoder/trunk/CVSDEncoder
- Files:
-
- 4 modified
-
CVSDEncoder.cpp (modified) (1 diff)
-
CVSDEncoder.h (modified) (1 diff)
-
Doxyfile (modified) (1 diff)
-
documentation.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
components/CVSDEncoder/trunk/CVSDEncoder/CVSDEncoder.cpp
r2830 r2837 61 61 kr, 62 62 min_gain, 63 max_gain, 64 0.1 // zeta (energy filter coefficient) 65 ); 63 max_gain); 66 64 67 65 //Create the thread for the writer's processing function -
components/CVSDEncoder/trunk/CVSDEncoder/CVSDEncoder.h
r2830 r2837 38 38 #include "sigproc/SigProc.h" 39 39 40 /// This is a description of the CVSD Encoder class... 40 41 class CVSDEncoder_i : public virtual Resource_impl 41 42 { -
components/CVSDEncoder/trunk/CVSDEncoder/Doxyfile
r2830 r2837 234 234 # will be included in the documentation. 235 235 236 EXTRACT_PRIVATE = NO236 EXTRACT_PRIVATE = YES 237 237 238 238 # If the EXTRACT_STATIC tag is set to YES all static members of a file -
components/CVSDEncoder/trunk/CVSDEncoder/documentation.txt
r2830 r2837 4 4 Continuously variable slope delta (CVSD) source encoding is used for data compression 5 5 of audio signals. It is a form of delta modulation where the delta value 6 (step size) is changed continuously to minimize slope-overload distortion [1]. 6 (step size) is changed continuously to minimize slope-overload distortion [1, 7 p. 131]. 7 8 The output bit stream has a rate equal to that of the sampling frequency. 8 9 CVSD is a lossy compression whose quality is directly related to the sampling … … 13 14 \section properties Properties 14 15 15 \subsection adjacent_bits adjacent_bits (DCE:ddfc035a-423c-499b-845d-075017002a69) 16 The number of adjacent identical bits observed before the slope doubles. 16 \subsection prop_adjacent_bits adjacent_bits (DCE:ddfc035a-423c-499b-845d-075017002a69) 17 The number of adjacent identical bits observed before the slope is increased 18 (doubles). Generally \f$N\f$ is chosen to be 3 or 4. The default value is 3. 17 19 18 \subsection agc_strength agc_strength (DCE:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)20 \subsection prop_agc_strength agc_strength (DCE:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) 19 21 The automatic gain control (AGC) within the CVSD Encoder conditions the input 20 22 signal's energy to be within a certain range. This improves the encoding … … 28 30 property. agc_strength can take on unsigned (short) integer values from zero 29 31 to 100. Typical values for are: 30 - No AGC: 031 - External PC microphone near user: 5032 - External PC microphone 20 ft. from user: 9032 - 0 : no gain control 33 - 50 : external PC microphone near user 34 - 90 : external PC microphone greater than 10 ft. from user 33 35 34 36 NOTE: this feature has not yet been implemented 35 37 36 \subsection vox vox (DCE:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)38 \subsection prop_vox vox (DCE:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) 37 39 The CVSD encoder implements a voice-operated switch (vox) which allows 38 transmission to be contingent upon audio levels. 40 transmission to be contingent upon audio levels. 41 The vox relies on the AGC 42 for determining signal levels, so the \ref prop_agc_strength property must be 43 greater than zero for the vox to be active. The vox threshold is set 44 automatically from the AGC gain level. 39 45 40 46 NOTE: this feature has not yet been implemented … … 57 63 58 64 \section algorithm Detailed Description of Algorithm 65 ...where \f$N\f$ is the number of adjacent bits... (see \ref prop_adjacent_bits) 66 59 67 The error signal is defined as 60 68 \f[