PatchesModule Overview
PatchesModule Overview
PatchesOutputs

PatchesOutputs

The PatchesOutputs class encapsulates methods for getting outputs of the Patch Editor.

Properties

This module exposes no properties.

Methods

MethodDescription
getBoolean
getBoolean(name: string): Promise<BoolSignal>


Returns a promise that is resolved with a BoolSignal existing in the Patch Editor under specified name.
getBooleanOrFallback
getBooleanOrFallback(name: string, fallback: BoolSignal | boolean): BoolSignal


Returns a BoolSignal existing in the Patch Editor under specified name or fallback on error.
getColor
getColor(name: string): Promise<RgbaSignal>


Returns a promise that is resolved with a RgbaSignal existing in the Patch Editor under specified name.
getColorOrFallback
getColorOrFallback(name: string, fallback: RgbaSignal): RgbaSignal


Returns a RgbaSignal existing in the Patch Editor under specified name or fallback on error.
getPoint
getPoint(name: string): Promise<PointSignal>


Returns a promise that is resolved with a PointSignal existing in the Patch Editor under specified name.
getPoint2D
getPoint2D(name: string): Promise<Point2DSignal>


Returns a promise that is resolved with a Point2DSignal existing in the Patch Editor under specified name.
getPoint2DOrFallback
getPoint2DOrFallback(name: string, fallback: Point2DSignal): Point2DSignal


Returns a Point2DSignal existing in the Patch Editor under specified name or fallback on error.
getPointOrFallback
getPointOrFallback(name: string, fallback: PointSignal): PointSignal


Returns a PointSignal existing in the Patch Editor under specified name or fallback on error.
getPulse
getPulse(name: string): Promise<EventSource<any>>


Returns a promise that is resolved with a EventSource<any> existing in the Patch Editor under specified name.
getPulseOrFallback
getPulseOrFallback(name: string, fallback: EventSource<any>): EventSource<any>


Returns a EventSource<any> existing in the Patch Editor under specified name or fallback on error.
getScalar
getScalar(name: string): Promise<ScalarSignal>


Returns a promise that is resolved with a ScalarSignal existing in the Patch Editor under specified name.
getScalarOrFallback
getScalarOrFallback(name: string, fallback: ScalarSignal | number): ScalarSignal


Returns a ScalarSignal existing in the Patch Editor under specified name or fallback on error.
getString
getString(name: string): Promise<StringSignal>


Returns a promise that is resolved with a StringSignal existing in the Patch Editor under specified name.
getStringOrFallback
getStringOrFallback(name: string, fallback: StringSignal | string): StringSignal


Returns a StringSignal existing in the Patch Editor under specified name or fallback on error.
getVector
getVector(name: string): Promise<VectorSignal>


Returns a promise that is resolved with a VectorSignal existing in the Patch Editor under specified name.
getVectorOrFallback
getVectorOrFallback(name: string, fallback: VectorSignal): VectorSignal


Returns a VectorSignal existing in the Patch Editor under specified name or fallback on error.