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