Samraksh eMote .NOW
DetectionCalculation Method (Algorithm.AcousticDetection)



Acoustic data is given to the detection algorithm which looks for detections.
Syntax
'Declaration
 
Public Function DetectionCalculation( _
   ByVal bufferAcoustic() As UShort, _
   ByVal numBytes As Integer, _
   ByVal processingOutput() As Double, _
   ByVal historyUpdateControl As Boolean _
) As Boolean
'Usage
 
Dim instance As Algorithm.AcousticDetection
Dim bufferAcoustic() As UShort
Dim numBytes As Integer
Dim processingOutput() As Double
Dim historyUpdateControl As Boolean
Dim value As Boolean
 
value = instance.DetectionCalculation(bufferAcoustic, numBytes, processingOutput, historyUpdateControl)

Parameters

bufferAcoustic
numBytes
processingOutput
historyUpdateControl

Return Value

Returns true if a detection was found, false if no detection was found.
Requirements

Target Platforms: eMote .NOW

See Also

Reference

Algorithm.AcousticDetection Class
Algorithm.AcousticDetection Members

Send Feedback