Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Removes Codable from definitions #41

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Tonic/Chord.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Foundation
///
/// A representation of a chord as a set of note classes, with a root note class,
/// and an inversion defined by the lowest note in the chord.
public struct Chord: Equatable, Codable {
public struct Chord: Equatable {
/// Root note class of the chord
public let root: NoteClass

Expand Down
2 changes: 1 addition & 1 deletion Sources/Tonic/ChordType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Foundation

/// Chord type as defined by a set of intervals from a root note class
public enum ChordType: String, CaseIterable, Codable {
public enum ChordType: String, CaseIterable {

/// Major Triad: Major Third, Perfect Fifth
case majorTriad
Expand Down
2 changes: 1 addition & 1 deletion Sources/Tonic/Key.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Foundation
/// The key is the set of notes that are played in a composition, or portion of a composition.
///
/// A key is composed of a Root ``Note``, and a ``Scale``.
public struct Key: Equatable, Codable {
public struct Key: Equatable {
/// The primary note class of the key, also known as the tonic
public let root: NoteClass

Expand Down
Loading