Update targetFor function signature in Ableton builders
This commit is contained in:
@@ -110,12 +110,7 @@ function setLive10SampleReference(fileRef: any, sampleName: string) {
|
|||||||
fileRef.LivePackId = { '@Value': '' };
|
fileRef.LivePackId = { '@Value': '' };
|
||||||
}
|
}
|
||||||
|
|
||||||
function targetFor(
|
function targetFor(parameter: any, maxValue?: number, soundLength?: number, invertValue?: boolean) {
|
||||||
parameter: any,
|
|
||||||
maxValue?: number,
|
|
||||||
soundLength?: number,
|
|
||||||
invertValue?: boolean,
|
|
||||||
) {
|
|
||||||
const automationTarget =
|
const automationTarget =
|
||||||
parameter?.AutomationTarget?.['@Id'] === undefined
|
parameter?.AutomationTarget?.['@Id'] === undefined
|
||||||
? undefined
|
? undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user