MetisDataDelegate Protocol Reference


Overview


The MetisDataDelegate protocol defines the optional method implemented by the data delegate of the Metis object. The protocol is defined in Metis.h.

The first argument of the methods is the Metis object that sends the message to the delegate.

Tasks


Receiving DDC and Microphone Data

- metis:newData:


Receiving Bandscope Data

- metis:newBandscopeData:samples:



Instance Methods


metis:newBandscopeData:samples:

This message is sent to the delegate when a new block of contiguous ADC samples arrives from the Metis hardware.

samples should always be 16,384.

- (void)metis:(Metis*)metis newBandscopeData:(SInt16*)bandscopeData samples:(int)samples

Parameters

metis
the Metis object that sent the message,

bandscopeData
pointer to a 16 bit signed integer array

samples
number of samples in the 16 bit signed integer array




metis:newData:

This message is sent to the delegate when new DDC data arrives from the Metis hardware. The MetisData structure is defined in Metis.h. See the Programming Guide for details.

Please note that the imaginary component of the data is negated from the raw data from Metis to get the correct phasor for the data.

- (void)metis:(Metis*)metis newData:(MetisData*)metisData

Parameters

metis
the Metis object that sent the message,

metisData
pointer to MetisData structure.