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

Add smoothing "spin-down delay" and/or "spin-down decay rate" options #8

Open
chaosblad3 opened this issue Jul 21, 2024 · 1 comment

Comments

@chaosblad3
Copy link

After a detected noise raises the vibration intensity to the appropriate % it should be possible to configure both an initial delay in ms at which the program will sustain the maximum intensity reached before it begins to fall (e.g. a noise raises the vibe to 50% and is then configured to hold it there after the noise ends for a ~100ms delay) which is then followed by a configurable decay-over-time rate that will cause the vibration % to gradually fall at a set rate instead of just immediately dropping to match the current audio level, at least until a new noise overrides it and raises the intensity back up again.

Obviously setting these values to 0 would disable all of this functionality and make it immediately respond to both rises and falls in the audio level as it does currently, but for certain applications (e.g. when using a minimum cut-off value, or where the music just has lots of ups and downs) it could be useful to have the intensity linger and/or decay after each burst of noise to some degree.

These settings could either be configured globally or on a per toy/motor basis.

I hope all of that makes sense ;)

@Shadlock0133
Copy link
Owner

good idea, but i don't have much time/motivation to work on this right now, sorry

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

No branches or pull requests

2 participants