scribeWiz-team/ScribeWiz

View on GitHub
app/src/main/java/com/github/scribeWizTeam/scribewiz/transcription/PitchDetector.kt

Summary

Maintainability
A
1 hr
Test Coverage
A
98%

Method detectPitch has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    override fun detectPitch(signal: Signal): Frequency? {
        val highLag = freqToLag(MIN_FREQ)
        val lowLag = freqToLag(MAX_FREQ)
        var bestCorr = -1.0
        var bestLag: Int? = null

    There are no issues that match your filters.

    Category
    Status