ChannelProcessor
new ChannelProcessor(bandMultipliers)
Parameter | Type | Optional | Description |
---|---|---|---|
bandMultipliers | Array<number> | ❌ | - |
Properties
public bandMultipliers: Array<number>
public current: number
public history: Array<number>
public m1: number
public m2: number
Methods
public process(samples, extremum, bytes, readInt?, writeInt?): Buffer
Parameter | Type | Optional | Description |
---|---|---|---|
samples | Buffer | ❌ | - |
extremum | number | ❌ | - |
bytes | number | ❌ | - |
readInt | ReadIntCallback | ✅ | - |
writeInt | WriteIntCallback | ✅ | - |
public processInt(int): number
Parameter | Type | Optional | Description |
---|---|---|---|
int | number | ❌ | - |