UNPKG

automation-events

Version:

A module which provides an implementation of an automation event list.

6 lines (4 loc) 266 B
import { ISetTargetAutomationEvent } from '../interfaces'; export const createSetTargetAutomationEvent = (target: number, startTime: number, timeConstant: number): ISetTargetAutomationEvent => { return { startTime, target, timeConstant, type: 'setTarget' }; };