---
title: SRSpeechMetrics
framework: sensorkit
role: symbol
role_heading: Class
path: sensorkit/srspeechmetrics
---

# SRSpeechMetrics

An object that represents metrics about a range of speech.

## Declaration

```swift
class SRSpeechMetrics
```

## Overview

Overview To get the audio level, use the audioLevel property. Otherwise, use the speechRecognition, soundClassification, and speechExpression properties to get characteristics of the speech. The siriSpeechMetrics sensor provides this class as its sample type.

## Topics

### Getting session information

- [sessionIdentifier](sensorkit/srspeechmetrics/sessionidentifier.md)
- [sessionFlags](sensorkit/srspeechmetrics/sessionflags-swift.property.md)
- [SRSpeechMetrics.SessionFlags](sensorkit/srspeechmetrics/sessionflags-swift.struct.md)
- [timeSinceAudioStart](sensorkit/srspeechmetrics/timesinceaudiostart.md)
- [timestamp](sensorkit/srspeechmetrics/timestamp.md)

### Getting speech metrics and analytics

- [audioLevel](sensorkit/srspeechmetrics/audiolevel.md)
- [SRAudioLevel](sensorkit/sraudiolevel.md)
- [speechRecognition](sensorkit/srspeechmetrics/speechrecognition.md)
- [soundClassification](sensorkit/srspeechmetrics/soundclassification.md)
- [speechExpression](sensorkit/srspeechmetrics/speechexpression.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Analyzing speech

- [SRSpeechExpression](sensorkit/srspeechexpression.md)
