Skip to content

Update feedback_accumulator calculation for audio to use AUDIO_SAMPLE_RATE_EXACT#797

Open
bthayer3 wants to merge 1 commit intoPaulStoffregen:masterfrom
bthayer3:updateFeedbackAccumulator
Open

Update feedback_accumulator calculation for audio to use AUDIO_SAMPLE_RATE_EXACT#797
bthayer3 wants to merge 1 commit intoPaulStoffregen:masterfrom
bthayer3:updateFeedbackAccumulator

Conversation

@bthayer3
Copy link

I found this formula was mentioning 44.1 kHz which could be improved by referencing the exact variable. With this change, feedback_accumulator value is more dynamic and respects changes to AUDIO_SAMPLE_RATE_EXACT.

Note I only am updating Teensy 4 version. I don't know the formula used for Teensy 3 version; I am not sure of the formula for this and how 185042824 was determined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant