---
title: KeyResult.Tonic
framework: musicunderstanding
role: symbol
role_heading: Enumeration
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: musicunderstanding/keyresult/tonic
---

# KeyResult.Tonic

The root note of a musical key.

## Declaration

```swift
@frozen enum Tonic
```

## Topics

### Enumeration Cases

- [KeyResult.Tonic.a](musicunderstanding/keyresult/tonic/a.md)
- [KeyResult.Tonic.aFlat](musicunderstanding/keyresult/tonic/aflat.md)
- [KeyResult.Tonic.aSharp](musicunderstanding/keyresult/tonic/asharp.md)
- [KeyResult.Tonic.b](musicunderstanding/keyresult/tonic/b.md)
- [KeyResult.Tonic.bFlat](musicunderstanding/keyresult/tonic/bflat.md)
- [KeyResult.Tonic.c](musicunderstanding/keyresult/tonic/c.md)
- [KeyResult.Tonic.cSharp](musicunderstanding/keyresult/tonic/csharp.md)
- [KeyResult.Tonic.d](musicunderstanding/keyresult/tonic/d.md)
- [KeyResult.Tonic.dFlat](musicunderstanding/keyresult/tonic/dflat.md)
- [KeyResult.Tonic.dSharp](musicunderstanding/keyresult/tonic/dsharp.md)
- [KeyResult.Tonic.e](musicunderstanding/keyresult/tonic/e.md)
- [KeyResult.Tonic.eFlat](musicunderstanding/keyresult/tonic/eflat.md)
- [KeyResult.Tonic.f](musicunderstanding/keyresult/tonic/f.md)
- [KeyResult.Tonic.fSharp](musicunderstanding/keyresult/tonic/fsharp.md)
- [KeyResult.Tonic.g](musicunderstanding/keyresult/tonic/g.md)
- [KeyResult.Tonic.gFlat](musicunderstanding/keyresult/tonic/gflat.md)
- [KeyResult.Tonic.gSharp](musicunderstanding/keyresult/tonic/gsharp.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
