mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-23 19:48:31 +00:00
remove midimap JSDoc
This commit is contained in:
parent
f802f18d68
commit
b98ebc696d
@ -1622,12 +1622,7 @@ export const ar = register('ar', (t, pat) => {
|
|||||||
*/
|
*/
|
||||||
export const { midichan } = registerControl('midichan');
|
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');
|
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));
|
normalized = Math.min(1, Math.max(0, normalized));
|
||||||
return Math.pow(normalized, exp);
|
return Math.pow(normalized, exp);
|
||||||
}
|
}
|
||||||
|
|
||||||
function mapCC(mapping, value) {
|
function mapCC(mapping, value) {
|
||||||
return Object.keys(value)
|
return Object.keys(value)
|
||||||
.filter((key) => !!mapping[getControlName(key)])
|
.filter((key) => !!mapping[getControlName(key)])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user