---
title: valence
framework: sensorkit
role: symbol
role_heading: Instance Property
path: sensorkit/srspeechexpression/valence
---

# valence

The degree of positive or negative emotion or sentiment of the speaker.

## Declaration

```swift
var valence: Double { get }
```

## Discussion

Discussion This property is a range from -1 to 1, where negative values indicate negative sentiment, and positive values indicate positive sentiment.

## See Also

### Getting speech analytics

- [confidence](sensorkit/srspeechexpression/confidence.md)
- [mood](sensorkit/srspeechexpression/mood.md)
- [activation](sensorkit/srspeechexpression/activation.md)
- [dominance](sensorkit/srspeechexpression/dominance.md)
