soundcraft-ui-connection
Version:
Library for controlling the Soundcraft Ui series audio mixers
27 lines (26 loc) • 995 B
TypeScript
import { MixerConnection } from '../mixer-connection';
import { MixerStore } from '../state/mixer-store';
import { BusType, ChannelType } from '../types';
import { Channel } from './channel';
/**
* Represents a channel on a send bus (AUX or FX).
* Used as super class for Aux and Fx
*/
export declare class SendChannel extends Channel {
protected fullChannelId: string;
faderLevelCommand: string;
/** PRE/POST state of the channel (`false` for PRE, `true` for POST) */
readonly post$: import('rxjs').Observable<boolean>;
constructor(conn: MixerConnection, store: MixerStore, channelType: ChannelType, channel: number, busType: BusType, bus: number);
/**
* Set PRE/POST state for the channel
* @param value POST (`true`) or PRE (`false`)
*/
setPost(value: boolean): void;
/** Set AUX channel to POST */
post(): void;
/** Set AUX channel to PRE */
pre(): void;
/** Toggle PRE/POST state of the channel */
togglePost(): void;
}