This commit is contained in:
2025-02-11 09:41:09 -05:00
parent c5824c9439
commit 1113c5369d
12 changed files with 254 additions and 105 deletions

View File

@@ -359,7 +359,8 @@ class SoundClassifier(
return
}
val sharedPref = PreferenceManager.getDefaultSharedPreferences(mContext)
val highPass = sharedPref.getInt("high_pass", 0)
// val highPass = sharedPref.getInt("high_pass", 0)
val highPass = 300;
val butterworth = Butterworth()
butterworth.highPass(6, 48000.0, highPass.toDouble())