-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: rename key to tonality and remove both v1 and v2 theory code
Changing the hard-coded tonality in the ui/application.zig file does adjust the spelling as desired. Now we need a GUI to set it.
- Loading branch information
1 parent
273c4e0
commit d160dd9
Showing
19 changed files
with
96 additions
and
3,325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
const std = @import("std"); | ||
const testing = std.testing; | ||
|
||
pub const Interval = @import("theory_v1/interval.zig").Interval; | ||
pub const Note = @import("theory_v1/note.zig").Note; | ||
pub const Pitch = @import("theory_v1/pitch.zig").Pitch; | ||
pub const Scale = @import("theory_v1/scale.zig").Scale; | ||
pub const Interval = @import("theory/interval.zig").Interval; | ||
pub const Note = @import("theory/note.zig").Note; | ||
pub const Scale = @import("theory/scale.zig").Scale; | ||
pub const Tonality = @import("theory/tonality.zig").Tonality; | ||
|
||
test { | ||
// Run all unit tests. | ||
// _ = @import("theory_v1/interval.zig"); | ||
// _ = @import("theory_v1/key_signature.zig"); | ||
// _ = @import("theory_v1/note.zig"); | ||
// _ = @import("theory_v1/pitch.zig"); | ||
// _ = @import("theory_v1/scale.zig"); | ||
_ = @import("theory/note.zig"); | ||
_ = @import("theory/interval.zig"); | ||
_ = @import("theory/key.zig"); | ||
_ = @import("theory/note.zig"); | ||
_ = @import("theory/scale.zig"); | ||
_ = @import("theory/tonality.zig"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.