forked from surge-synthesizer/surge
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce noise floor / dB ceiling parameters for the scope spectrum …
…view. (surge-synthesizer#6862) * Implement noise floor and ceiling. Minor refactoring of where the gain -> dB happens. Currently there's a bug when the floor/ceiling cross; it seems to disable the scope and it won't reenable even when they go back to normal. * Fix bug by marking spectrum display as dirty. * Remove currently unused parts. * Have scope properly update when below floor / above ceiling. * Clean up the momentarily bogus appearances when noise floor and db ceiling change. * Remove some unused variables. * Clang Format so we can merge --------- Co-authored-by: Paul Walker <[email protected]>
- Loading branch information
Showing
2 changed files
with
79 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters