From 7faf0804c92b231b8b7e09c48a63d51119aecd64 Mon Sep 17 00:00:00 2001 From: Jhonathan Wyterlin Date: Wed, 7 Jun 2023 14:33:27 +0200 Subject: [PATCH 1/3] Support Xcode 15 and Swift 5.9 compiler --- .../CDunneAudioKit/DunneCore/Common/EnvelopeGeneratorBase.cpp | 1 + Sources/CDunneAudioKit/DunneCore/Synth/WaveStack.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/Sources/CDunneAudioKit/DunneCore/Common/EnvelopeGeneratorBase.cpp b/Sources/CDunneAudioKit/DunneCore/Common/EnvelopeGeneratorBase.cpp index f27ac74..4d9003c 100644 --- a/Sources/CDunneAudioKit/DunneCore/Common/EnvelopeGeneratorBase.cpp +++ b/Sources/CDunneAudioKit/DunneCore/Common/EnvelopeGeneratorBase.cpp @@ -2,6 +2,7 @@ #include "EnvelopeGeneratorBase.h" #include +#include namespace DunneCore { diff --git a/Sources/CDunneAudioKit/DunneCore/Synth/WaveStack.cpp b/Sources/CDunneAudioKit/DunneCore/Synth/WaveStack.cpp index 4ef3eca..ae2a9e5 100644 --- a/Sources/CDunneAudioKit/DunneCore/Synth/WaveStack.cpp +++ b/Sources/CDunneAudioKit/DunneCore/Synth/WaveStack.cpp @@ -2,6 +2,7 @@ #include "WaveStack.h" #include "kiss_fftr.h" +#include namespace DunneCore { From 5f93288ed1b3d2197a1286a8f6bd25d4f406d367 Mon Sep 17 00:00:00 2001 From: Jhonathan Wyterlin Date: Wed, 7 Jun 2023 14:56:04 +0200 Subject: [PATCH 2/3] Update unit tests in GenericNodeTests.swift --- Tests/DunneAudioKitTests/GenericNodeTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/DunneAudioKitTests/GenericNodeTests.swift b/Tests/DunneAudioKitTests/GenericNodeTests.swift index 78c6117..ba36c62 100644 --- a/Tests/DunneAudioKitTests/GenericNodeTests.swift +++ b/Tests/DunneAudioKitTests/GenericNodeTests.swift @@ -55,7 +55,7 @@ class GenericNodeTests: XCTestCase { } func testEffects() { - nodeParameterTest(md5: "1f023474b6150286e854485f00a0d1b4", factory: { input in Flanger(input) }) + nodeParameterTest(md5: "b09c41cdef96fb4cfe89c34c5262e9d2", factory: { input in Flanger(input) }) nodeParameterTest(md5: "2d667d22162edd87d6ae8ec8bfccc77e", factory: { input in StereoDelay(input) }) } } From eaa020ca255bb9746a18366f34f0cb9540c04df0 Mon Sep 17 00:00:00 2001 From: Jhonathan Wyterlin Date: Wed, 7 Jun 2023 14:56:55 +0200 Subject: [PATCH 3/3] Update unit tests in SynthTests.swift --- Tests/DunneAudioKitTests/ValidatedMD5s.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/DunneAudioKitTests/ValidatedMD5s.swift b/Tests/DunneAudioKitTests/ValidatedMD5s.swift index db55378..0d90015 100644 --- a/Tests/DunneAudioKitTests/ValidatedMD5s.swift +++ b/Tests/DunneAudioKitTests/ValidatedMD5s.swift @@ -13,9 +13,9 @@ extension XCTestCase { let validatedMD5s: [String: String] = [ "-[SamplerTests testSampler]": "8739229f6bc52fa5db3cc2afe85ee580", "-[SamplerTests testSamplerAttackVolumeEnvelope]": "bf00177ac48148fa4f780e5e364e84e2", - "-[SynthTests testChord]": "155d8175419836512ead0794f551c7a0", - "-[SynthTests testMonophonicPlayback]": "77fb882efcaf29c3a426036d85d04090", - "-[SynthTests testParameterInitialization]": "e27794e7055b8ebdbf7d0591e980484e", + "-[SynthTests testChord]": "670c95beba121ff85150eb12497f3652", + "-[SynthTests testMonophonicPlayback]": "625554cfe7cc840083df9931d47490a6", + "-[SynthTests testParameterInitialization]": "7bd35b742ceff0ba77238d7da2ef046d", "-[TransientShaperTests testAttackAmount]": "481068b77fc73b349315f2327fb84318", "-[TransientShaperTests testDefault]": "cea9fc1deb7a77fe47a071d7aaf411d3", "-[TransientShaperTests testOutputAmount]": "e84963aeedd6268dd648dd6a862fb76a",