Skip to content

Commit

Permalink
Adding TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
lucapericlp committed Feb 15, 2024
1 parent 0f54bdc commit 01398fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hydra/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const PERiPERiDEFAULTS = async () => {
console.log('Midi received on cc#' + index + ' value:' + arr[2]) // uncomment to monitor incoming Midi
console.log(arr)
var val = (arr[2]+1)/128.0 // normalize CC values to 0.0 - 1.0
// TODO: special logic for "toggle button" MIDI types
cc[[side_qualifier, index]]=val
}

Expand Down

0 comments on commit 01398fa

Please sign in to comment.