Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable Climbing sound #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lshachar
Copy link

Hi Baptiste, I see that in aa9d997822746be28f4f0cfbc94a897504288c03 You implemented the variable sinking beep, but not the variable climbing beep. I wonder if you tested it and were just unhappy with the change, or for any other reason?
My patch did not break or changed the previous behaviour, but it added functionality - being able to set a climbing beep that is varying in frequency during a beep, or keeping the monotonous beep. I think many (if not most?) varios use a varying frequency beep. and I find it a lot more informative as I don't need to wait for the next beep to understand the variance in climb rate since the current beep started.
Do you think otherwise?
I made a branch that merges with no errors for you to test. please note that for your default behavior you need to change the #define CLIMBING_BEEP_FREQ_UPDATE back to 0.

#define CLIMBING_BEEP_FREQ_UPDATE 1 // update climbing beep frequency(pitch) after X milliseconds. 0 = monotonous beep, do not update frequency while beep is playing. 1 = pitch changes smoothly every 1ms. more than 1 = pitch changed in steps every X milliseconds.

@sepi
Copy link

sepi commented Nov 27, 2020

I just tested it without flying and I like it. I would still export the setting into VarioSettings.h so that the end-user can easily configure it.

@lshachar
Copy link
Author

That's not a bad idea! I guess I put it in beeper.h because that's where the other sound settings were. anyhow it's up to @prunkdump to decide ;)

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.

2 participants