Skip to content

Commit 5498ed4

Browse files
committed
Updated tests and fixed filename
1 parent 35353b3 commit 5498ed4

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

File renamed without changes.

Tests/SoundpipeAudioKitTests/Effects Tests/TalkboxTests.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class TalkboxTests: XCTestCase {
1313
let source = AudioPlayer(url: url)!
1414

1515
// Excitation/carrier (harmonically rich signal)
16-
let excitation = DynamicOscillator(waveform: Table(.sawtooth), frequency: 220, amplitude: 1.0)
16+
let excitation = DynamicOscillator(waveform: Table(.sawtooth), frequency: 110, amplitude: 1.0)
17+
excitation.$frequency.ramp(to: 220, duration: 5.0)
1718

1819
// Create talkbox with both signals
1920
let talkbox = Talkbox(source, excitation: excitation)
@@ -29,5 +30,6 @@ class TalkboxTests: XCTestCase {
2930
audio.append(engine.render(duration: 5.0))
3031

3132
testMD5(audio)
33+
audio.audition()
3234
}
3335
}

Tests/SoundpipeAudioKitTests/ValidatedMD5s.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ let validatedMD5s: [String: String] = [
5050
"-[PhaseLockedVocoderTests testDefault]": "eb9fe2d8ee2e3b3d6527a4e139c2686e",
5151
"-[PitchTapTests testBasic]": "5b6ae6252df77df298996a7367a00a9e",
5252
"-[PluckedStringTests testDefault]": "3f13907e6e916b7a4bf6046a4cbf0764",
53-
"-[TalkboxTests testTalkbox]": "3ce43649658faa30bdb46124e48d00fb",
53+
"-[TalkboxTests testTalkbox]": "316ef6638793f5fb6ec43fae1919ccff",
5454
]

0 commit comments

Comments
 (0)