UNPKG

@thi.ng/dsp

Version:

Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils

13 lines 365 B
import type { ICopy } from "@thi.ng/api"; import { AGen } from "./agen.js"; /** * Returns new gen yielding always the same given value `x`. * * @param x - */ export declare const constant: <T>(x: T) => Const<T>; export declare class Const<T> extends AGen<T> implements ICopy<Const<T>> { copy(): Const<T>; next(): T; } //# sourceMappingURL=const.d.ts.map