Skip to content

Commit

Permalink
fix: Midas Reduction meter should not be converted to log
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Nov 12, 2021
1 parent edc10d7 commit 63e05b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/utils/mixerConnections/productSpecific/midas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export const midasMeter = (mixerIndex: number, message: any) => {
assignedFader < state.settings[0].numberOfFaders
) {
level = calcVuLevel(dataview.getFloat32(4 * i + DATA_OFFSET, true))
reductionLevel = calcVuLevel(
dataview.getFloat32(4 * (i + 64) + DATA_OFFSET, true)
reductionLevel = dataview.getFloat32(
4 * (i + 64) + DATA_OFFSET,
true
)
let vuIndex: number = state.faders[0].fader[
assignedFader
Expand Down

0 comments on commit 63e05b7

Please sign in to comment.