Skip to content

Commit d178fab

Browse files
committed
Fixed a test and pinned the AK dependency to 5.6
1 parent 20185c7 commit d178fab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let package = Package(
99
products: [.library(name: "SoundpipeAudioKit", targets: ["SoundpipeAudioKit"])],
1010
dependencies: [
1111
.package(url: "https://github.com/AudioKit/KissFFT", from: "1.0.0"),
12-
.package(url: "https://github.com/AudioKit/AudioKit", branch: "main"),
12+
.package(url: "https://github.com/AudioKit/AudioKit", from: "5.6.0"),
1313
.package(url: "https://github.com/AudioKit/AudioKitEX", from: "5.5.0"),
1414
],
1515
targets: [

Tests/SoundpipeAudioKitTests/PitchTapTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ class PitchTapTests: XCTestCase {
1414
oscillator.$frequency.ramp(to: 660, duration: 1.0)
1515

1616
var pitches: [Float] = []
17-
let knownValues: [Float] = [100.0, 448.91534, 457.72495, 476.3929, 503.23022, 519.6525, 533.7021, 562.2199, 576.985, 598.7911]
17+
let knownValues: [Float] = [100.0, 448.91534, 459.8243, 472.9798, 495.56476, 521.5465, 541.39246, 566.3455, 600.9849, 610.31995]
18+
1819

1920
let expect = expectation(description: "wait for amplitudes")
2021

0 commit comments

Comments
 (0)