Skip to content

Added Tablature and Fretboard examples#177

Merged
NickCulbertson merged 3 commits intoAudioKit:mainfrom
NickCulbertson:AddTablature
Feb 27, 2026
Merged

Added Tablature and Fretboard examples#177
NickCulbertson merged 3 commits intoAudioKit:mainfrom
NickCulbertson:AddTablature

Conversation

@NickCulbertson
Copy link
Member

Added Tablature and Fretboard examples.
Cleaned up main view.
Removed a few deprecations.

Added Tablature and Fretboard examples.
Cleaned up main view.
Removed a few deprecations.
.package(url: "https://github.com/AudioKit/Flow", from: "1.0.0"),
.package(url: "https://github.com/AudioKit/PianoRoll", from: "1.0.0"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.9.7"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.11.0"),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)

.package(url: "https://github.com/orchetect/MIDIKit", from: "0.9.7"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.11.0"),
.package(url: "https://github.com/AudioKit/Tablature", from: "0.1.0"),
.package(url: "https://github.com/AudioKit/Fretboard", from: "0.1.0"),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)
Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)

.package(url: "https://github.com/AudioKit/PianoRoll", from: "1.0.0"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.9.7"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.11.0"),
.package(url: "https://github.com/AudioKit/Tablature", from: "0.1.0"),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)

.package(url: "https://github.com/orchetect/MIDIKit", from: "0.9.7"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.11.0"),
.package(url: "https://github.com/AudioKit/Tablature", from: "0.1.0"),
.package(url: "https://github.com/AudioKit/Fretboard", from: "0.1.0"),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)
Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)

.package(url: "https://github.com/AudioKit/PianoRoll", from: "1.0.0"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.9.7"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.11.0"),
.package(url: "https://github.com/AudioKit/Tablature", from: "0.1.0"),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)

.package(url: "https://github.com/orchetect/MIDIKit", from: "0.9.7"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.11.0"),
.package(url: "https://github.com/AudioKit/Tablature", from: "0.1.0"),
.package(url: "https://github.com/AudioKit/Fretboard", from: "0.1.0"),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)
Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)

.package(url: "https://github.com/AudioKit/PianoRoll", from: "1.0.0"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.9.7"),
.package(url: "https://github.com/orchetect/MIDIKit", from: "0.11.0"),
.package(url: "https://github.com/AudioKit/Tablature", from: "0.1.0"),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)

private func startSimulatedInput() {
let pattern: [(string: Int, fret: Int)] = [
(0, 0), (0, 3), (1, 0), (1, 2), (2, 0), (2, 2),
(3, 0), (3, 2), (4, 0), (4, 3), (5, 0), (5, 3),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)

private func startSimulatedInput() {
let pattern: [(string: Int, fret: Int)] = [
(0, 0), (0, 3), (1, 0), (1, 2), (2, 0), (2, 2),
(3, 0), (3, 2), (4, 0), (4, 3), (5, 0), (5, 3),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)

case channels1to6 = "Ch 1–6"
case channels11to16 = "Ch 11–16"

var id: String { rawValue }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identifier Name Violation: Variable name should be between 3 and 40 characters long: 'id' (identifier_name)


private static let instruments: [StringInstrument] = [
.guitar, .guitar7String, .guitarDropD,
.bass, .bass5String, .ukulele, .banjo,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)

@NickCulbertson NickCulbertson merged commit 10fa15b into AudioKit:main Feb 27, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant