Changeset 2837

Show
Ignore:
Timestamp:
02/15/07 16:34:24 (6 years ago)
Author:
jgaeddert
Message:

minor updates to documentation, code

Location:
components/CVSDEncoder/trunk/CVSDEncoder
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • components/CVSDEncoder/trunk/CVSDEncoder/CVSDEncoder.cpp

    r2830 r2837  
    6161         kr, 
    6262         min_gain, 
    63          max_gain, 
    64          0.1     // zeta (energy filter coefficient) 
    65     ); 
     63         max_gain); 
    6664 
    6765    //Create the thread for the writer's processing function  
  • components/CVSDEncoder/trunk/CVSDEncoder/CVSDEncoder.h

    r2830 r2837  
    3838#include "sigproc/SigProc.h" 
    3939 
     40/// This is a description of the CVSD Encoder class... 
    4041class CVSDEncoder_i : public virtual Resource_impl 
    4142{ 
  • components/CVSDEncoder/trunk/CVSDEncoder/Doxyfile

    r2830 r2837  
    234234# will be included in the documentation. 
    235235 
    236 EXTRACT_PRIVATE        = NO 
     236EXTRACT_PRIVATE        = YES 
    237237 
    238238# If the EXTRACT_STATIC tag is set to YES all static members of a file  
  • components/CVSDEncoder/trunk/CVSDEncoder/documentation.txt

    r2830 r2837  
    44Continuously variable slope delta (CVSD) source encoding is used for data compression 
    55of 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, 
     7p. 131]. 
    78The output bit stream has a rate equal to that of the sampling frequency. 
    89CVSD is a lossy compression whose quality is directly related to the sampling 
     
    1314\section properties Properties 
    1415 
    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) 
     17The 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. 
    1719 
    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) 
    1921The automatic gain control (AGC) within the CVSD Encoder conditions the input 
    2022signal's energy to be within a certain range.  This improves the encoding 
     
    2830property.  agc_strength can take on unsigned (short) integer values from zero 
    2931to 100.  Typical values for are: 
    30  - No AGC: 0 
    31  - External PC microphone near user: 50 
    32  - External PC microphone 20 ft. from user: 90 
     32 - 0 : no gain control 
     33 - 50 : external PC microphone near user 
     34 - 90 : external PC microphone greater than 10 ft. from user 
    3335 
    3436NOTE: this feature has not yet been implemented 
    3537 
    36 \subsection vox vox (DCE:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) 
     38\subsection prop_vox vox (DCE:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) 
    3739The CVSD encoder implements a voice-operated switch (vox) which allows 
    38 transmission to be contingent upon audio levels. 
     40transmission to be contingent upon audio levels.   
     41The vox relies on the AGC 
     42for determining signal levels, so the \ref prop_agc_strength property must be 
     43greater than zero for the vox to be active.  The vox threshold is set 
     44automatically from the AGC gain level. 
    3945 
    4046NOTE: this feature has not yet been implemented 
     
    5763 
    5864\section algorithm Detailed Description of Algorithm 
     65...where \f$N\f$ is the number of adjacent bits... (see \ref prop_adjacent_bits) 
     66 
    5967The error signal is defined as 
    6068\f[