mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-27 22:49:02 +08:00
ggwave : add "soundMarkerThreshold" parameter
Can be used to control the threshold used for distinguishing odd from even frequencies in the sound markers.
This commit is contained in:
@@ -192,6 +192,7 @@ int main(int argc, char ** argv) {
|
||||
// playback / capture at different sample rates
|
||||
for (int srInp = GGWave::kBaseSampleRate/3; srInp <= 2*GGWave::kBaseSampleRate; srInp += 1100) {
|
||||
auto parameters = GGWave::getDefaultParameters();
|
||||
parameters.soundMarkerThreshold = 1.1f;
|
||||
|
||||
std::string payload = "hello123";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user