mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
remove midimap JSDoc
This commit is contained in:
@@ -1622,12 +1622,7 @@ export const ar = register('ar', (t, pat) => {
|
||||
*/
|
||||
export const { midichan } = registerControl('midichan');
|
||||
|
||||
/**
|
||||
* MIDI map: Sets the MIDI map for the event.
|
||||
*
|
||||
* @name midimap
|
||||
* @param {Object} map MIDI map
|
||||
*/
|
||||
|
||||
export const { midimap } = registerControl('midimap');
|
||||
|
||||
/**
|
||||
|
||||
@@ -178,6 +178,7 @@ function normalize(value = 0, min = 0, max = 1, exp = 1) {
|
||||
normalized = Math.min(1, Math.max(0, normalized));
|
||||
return Math.pow(normalized, exp);
|
||||
}
|
||||
|
||||
function mapCC(mapping, value) {
|
||||
return Object.keys(value)
|
||||
.filter((key) => !!mapping[getControlName(key)])
|
||||
|
||||
Reference in New Issue
Block a user