Repository navigation
Render VUMeter in the Sidebar in Song, Arranger and Performance Views - #1344
Merged
seangoodvibes merged 6 commits intoFeb 28, 2024
Merged
Conversation
seangoodvibes
force-pushed
the
Display-VU-Meters
branch
from
February 25, 2024 22:14
0d4ed8a to
a9ec4ff
Compare
seangoodvibes
force-pushed
the
Display-VU-Meters
branch
6 times, most recently
from
February 25, 2024 23:36
c4b06ba to
9771b24
Compare
m-m-adams
reviewed
Feb 25, 2024
seangoodvibes
marked this pull request as draft
February 26, 2024 00:21
seangoodvibes
marked this pull request as ready for review
February 27, 2024 02:54
seangoodvibes
force-pushed
the
Display-VU-Meters
branch
2 times, most recently
from
February 27, 2024 04:44
7a0b4fe to
2e10e72
Compare
Use AudioEngine::rmsLevel to render a VU meter on the grid in Song and Arranger View VU meter is displayed by turning Affect Entire on in Song/Arranger, selecting the Volume mod button and then pressing it again to toggle the VU meter on/off. The VUMeter will stop rendering if you turn Affect Entire off, Switch Mod Buttons (e.g. from Volume to Filter), selected a clip, or exit Song/Arranger View.
seangoodvibes
force-pushed
the
Display-VU-Meters
branch
from
February 27, 2024 04:45
2e10e72 to
75f1eeb
Compare
Updated code to render VU meter in sidebar and only when there is a change in the rmsLevel such that the maxY to be rendered for the VU meter differs from the previous VU meter maxY that is currently rendered Added VU meter rendering to Performance View Replace uiNeedsRendering(this) call in graphicsRoutine with call directly to the VU meter rendering function and then send out sidebar colours directly. Fixed sidebar rendering when holding audition pad to select instrument in the sidebar in arranger performance view Fixed couple cases where sidebar wasn't refreshing to remove VU meter when: - a clip without timeline counter was selected in arranger - section repeats was selected in song view.
seangoodvibes
force-pushed
the
Display-VU-Meters
branch
from
February 27, 2024 05:15
8631ad5 to
419780b
Compare
seangoodvibes
marked this pull request as draft
February 27, 2024 18:13
Rendered left and right audio panning in VU Meter
seangoodvibes
force-pushed
the
Display-VU-Meters
branch
from
February 27, 2024 22:17
57f90d5 to
ab9bddb
Compare
seangoodvibes
marked this pull request as ready for review
February 27, 2024 22:19
Contributor
Renamed rmsLevel to approxRMSLevel Renamed AbsValueFollower::calcRMS to calcApproxRMS
m-m-adams
reviewed
Feb 28, 2024
Changed struct stereo to struct StereoFloatSample Removed vuMeter struct and replaced it with two variables for L and R
m-m-adams
approved these changes
Feb 28, 2024
seangoodvibes
added this pull request to the merge queue
Feb 28, 2024
seangoodvibes
added a commit
to seangoodvibes/DelugeFirmware
that referenced
this pull request
Feb 28, 2024
…SynthstromAudible#1344) * Render VUMeter on the Grid in Song and Arranger Views Use AudioEngine::rmsLevel to render a VU meter on the grid in Song and Arranger View VU meter is displayed by turning Affect Entire on in Song/Arranger, selecting the Volume mod button and then pressing it again to toggle the VU meter on/off. The VUMeter will stop rendering if you turn Affect Entire off, Switch Mod Buttons (e.g. from Volume to Filter), selected a clip, or exit Song/Arranger View. * Address first feedback * Render VU meter in sidebar Updated code to render VU meter in sidebar and only when there is a change in the rmsLevel such that the maxY to be rendered for the VU meter differs from the previous VU meter maxY that is currently rendered Added VU meter rendering to Performance View Replace uiNeedsRendering(this) call in graphicsRoutine with call directly to the VU meter rendering function and then send out sidebar colours directly. Fixed sidebar rendering when holding audition pad to select instrument in the sidebar in arranger performance view Fixed couple cases where sidebar wasn't refreshing to remove VU meter when: - a clip without timeline counter was selected in arranger - section repeats was selected in song view. * Render Left and Right audio panning in vu meter Rendered left and right audio panning in VU Meter * Rename rmsLevel to approxRMSLevel Renamed rmsLevel to approxRMSLevel Renamed AbsValueFollower::calcRMS to calcApproxRMS * Address feedback Changed struct stereo to struct StereoFloatSample Removed vuMeter struct and replaced it with two variables for L and R
tastycode
pushed a commit
to tastycode/DelugeFirmware
that referenced
this pull request
Jul 3, 2024
…SynthstromAudible#1344) * Render VUMeter on the Grid in Song and Arranger Views Use AudioEngine::rmsLevel to render a VU meter on the grid in Song and Arranger View VU meter is displayed by turning Affect Entire on in Song/Arranger, selecting the Volume mod button and then pressing it again to toggle the VU meter on/off. The VUMeter will stop rendering if you turn Affect Entire off, Switch Mod Buttons (e.g. from Volume to Filter), selected a clip, or exit Song/Arranger View. * Address first feedback * Render VU meter in sidebar Updated code to render VU meter in sidebar and only when there is a change in the rmsLevel such that the maxY to be rendered for the VU meter differs from the previous VU meter maxY that is currently rendered Added VU meter rendering to Performance View Replace uiNeedsRendering(this) call in graphicsRoutine with call directly to the VU meter rendering function and then send out sidebar colours directly. Fixed sidebar rendering when holding audition pad to select instrument in the sidebar in arranger performance view Fixed couple cases where sidebar wasn't refreshing to remove VU meter when: - a clip without timeline counter was selected in arranger - section repeats was selected in song view. * Render Left and Right audio panning in vu meter Rendered left and right audio panning in VU Meter * Rename rmsLevel to approxRMSLevel Renamed rmsLevel to approxRMSLevel Renamed AbsValueFollower::calcRMS to calcApproxRMS * Address feedback Changed struct stereo to struct StereoFloatSample Removed vuMeter struct and replaced it with two variables for L and R
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
VU Meterrendering in the sidebar in Song / Arranger / Performance Views.To display the VU meter:
Affect EntireonVolume mod buttonVolume mod buttonagain to toggle the VU Meter on / off.The VU meter will stop rendering if you switch mod button selections, turn affect entire off, select a clip or exit Song/Arranger views.
The VU meter will render the decibels below clipping on the grid with the colours green, orange and red.
Red indicates clipping and is rendered on the top row of the grid.
Each row on the grid corresponds to the following decibels below clipping values: