SPKitInverter


User's Guide

SPKitInverter is a signal inverter. It outputs its input signal in opposite phase.

Programmer's Reference

Defined in <spkit/inverter.h>
Inherits from SPKitProcessor

SPKitInverter overrides getSample() for inverting the input signal.

Public Members

int getSample(SPKitSample& outputSample)
retrieve a processed audio sample

getSample() requests a sample from its input and stores the inverted value of the sample in outputSample.

The function returns 0 when all its inputs run out of samples, 1 otherwise.


Return to SPKit home

Kai Lassfolk / University of Helsinki / kpl@elisir.helsinki.fi