File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,13 @@ class SnowboyDetect {
124
124
int NumHotwords () const ;
125
125
126
126
// If <apply_frontend> is true, then apply frontend audio processing;
127
- // otherwise turns the audio processing off.
127
+ // otherwise turns the audio processing off. Frontend audio processing
128
+ // includes algorithms such as automatic gain control (AGC), noise suppression
129
+ // (NS) and so on. Generally adding frontend audio processing helps the
130
+ // performance, but if the model is not trained with frontend audio
131
+ // processing, it may decrease the performance. The general rule of thumb is:
132
+ // 1. For personal models, set it to false.
133
+ // 2. For universal models, follow the instruction of each published model
128
134
void ApplyFrontend (const bool apply_frontend);
129
135
130
136
// Returns the required sampling rate, number of channels and bits per sample
You can’t perform that action at this time.
0 commit comments