From df07d53c033181b5ef6096d04b1503011e180a96 Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Sun, 9 Aug 2026 15:53:10 -0700 Subject: [PATCH 1/5] Update NeuralAmpModelerCore to v0.5.5 --- .../projects/NeuralAmpModeler-aax.vcxproj | 7 ++- .../projects/NeuralAmpModeler-app.vcxproj | 7 ++- .../project.pbxproj | 20 ++++++++ .../project.pbxproj | 48 +++++++++++++++++++ .../projects/NeuralAmpModeler-vst3.vcxproj | 7 ++- NeuralAmpModelerCore | 2 +- 6 files changed, 87 insertions(+), 4 deletions(-) diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj index b4ea647f2..83332aa46 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj @@ -427,7 +427,9 @@ $(IntDir)%(RelativeDir) + + @@ -533,13 +535,16 @@ + + + @@ -565,4 +570,4 @@ - \ No newline at end of file + diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj index e016cc972..769de1ac8 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj @@ -335,13 +335,16 @@ + + + @@ -410,7 +413,9 @@ $(IntDir)%(RelativeDir) + + @@ -439,4 +444,4 @@ - \ No newline at end of file + diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj index cf9d95eb7..4de046d19 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj @@ -53,6 +53,11 @@ 4FBDC96429FFF143004FF203 /* model.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4FBDC94B29FFF143004FF203 /* model.cpp */; }; 4FBDC98029FFF143004FF203 /* slimmable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4FBDC97E29FFF143004FF203 /* slimmable.cpp */; }; 4FBDC98129FFF143004FF203 /* container.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4FBDC97F29FFF143004FF203 /* container.cpp */; }; + C05510000000000000000101 /* compiler.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000001 /* compiler.h */; }; + C05510000000000000000102 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05510000000000000000002 /* linear.cpp */; }; + C05510000000000000000103 /* linear.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000003 /* linear.h */; }; + C05510000000000000000104 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05510000000000000000004 /* nam_file.cpp */; }; + C05510000000000000000105 /* nam_file.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000005 /* nam_file.h */; }; 4FBDC96529FFF143004FF203 /* get_dsp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4FBDC94C29FFF143004FF203 /* get_dsp.cpp */; }; 4FBDC97729FFF143004FF203 /* conv1d.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4FBDC97029FFF143004FF203 /* conv1d.cpp */; }; 4FBDC97829FFF143004FF203 /* conv1d.h in Headers */ = {isa = PBXBuildFile; fileRef = 4FBDC97129FFF143004FF203 /* conv1d.h */; }; @@ -305,6 +310,11 @@ 4FBDC94B29FFF143004FF203 /* model.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wavenet/model.cpp; sourceTree = ""; }; 4FBDC97E29FFF143004FF203 /* slimmable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wavenet/slimmable.cpp; sourceTree = ""; }; 4FBDC97F29FFF143004FF203 /* container.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = container.cpp; sourceTree = ""; }; + C05510000000000000000001 /* compiler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = compiler.h; sourceTree = ""; }; + C05510000000000000000002 /* linear.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = linear.cpp; sourceTree = ""; }; + C05510000000000000000003 /* linear.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = linear.h; sourceTree = ""; }; + C05510000000000000000004 /* nam_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nam_file.cpp; sourceTree = ""; }; + C05510000000000000000005 /* nam_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nam_file.h; sourceTree = ""; }; 4FBDC94C29FFF143004FF203 /* get_dsp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = get_dsp.cpp; sourceTree = ""; }; 4FC46E58231440C8000045E7 /* web */ = {isa = PBXFileReference; lastKnownFileType = folder; name = web; path = ../resources/web; sourceTree = ""; }; 4FC6982F293BA47F0076EC33 /* NeuralAmpModelerAU.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = NeuralAmpModelerAU.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -691,6 +701,11 @@ 4FBDC94B29FFF143004FF203 /* model.cpp */, 4FBDC97E29FFF143004FF203 /* slimmable.cpp */, 4FBDC97F29FFF143004FF203 /* container.cpp */, + C05510000000000000000001 /* compiler.h */, + C05510000000000000000002 /* linear.cpp */, + C05510000000000000000003 /* linear.h */, + C05510000000000000000004 /* nam_file.cpp */, + C05510000000000000000005 /* nam_file.h */, 4FBDC94529FFF143004FF203 /* model.h */, 4FBDC97029FFF143004FF203 /* conv1d.cpp */, 4FBDC97129FFF143004FF203 /* conv1d.h */, @@ -879,6 +894,9 @@ 4FBDC95029FFF143004FF203 /* NoiseGate.h in Headers */, 4FBDC96129FFF143004FF203 /* dsp.h in Headers */, AAB7BBB92CC4B8D6000B8B6E /* get_dsp.h in Headers */, + C05510000000000000000101 /* compiler.h in Headers */, + C05510000000000000000103 /* linear.h in Headers */, + C05510000000000000000105 /* nam_file.h in Headers */, 4FBDC96029FFF143004FF203 /* util.h in Headers */, 4FBDC94F29FFF143004FF203 /* wav.h in Headers */, ); @@ -1093,6 +1111,8 @@ 4FBDC96429FFF143004FF203 /* model.cpp in Sources */, 4FBDC98029FFF143004FF203 /* slimmable.cpp in Sources */, 4FBDC98129FFF143004FF203 /* container.cpp in Sources */, + C05510000000000000000102 /* linear.cpp in Sources */, + C05510000000000000000104 /* nam_file.cpp in Sources */, 4FBDC97729FFF143004FF203 /* conv1d.cpp in Sources */, 4FBDC97929FFF143004FF203 /* ring_buffer.cpp in Sources */, 4FC6984C293BA6010076EC33 /* IGraphicsCoreText.mm in Sources */, diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj index e4cff679f..43772cd0a 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj @@ -461,6 +461,25 @@ AAB7E0172CC4B8C6000B8B6E /* container.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AAB7E0102CC4B8C6000B8B6E /* container.cpp */; }; AAB7E0182CC4B8C6000B8B6E /* container.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AAB7E0102CC4B8C6000B8B6E /* container.cpp */; }; AAB7E0192CC4B8C6000B8B6E /* container.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AAB7E0102CC4B8C6000B8B6E /* container.cpp */; }; + C05500000000000000000101 /* compiler.h in Headers */ = {isa = PBXBuildFile; fileRef = C05500000000000000000001 /* compiler.h */; }; + C05500000000000000000102 /* linear.h in Headers */ = {isa = PBXBuildFile; fileRef = C05500000000000000000003 /* linear.h */; }; + C05500000000000000000103 /* nam_file.h in Headers */ = {isa = PBXBuildFile; fileRef = C05500000000000000000005 /* nam_file.h */; }; + C05500000000000000000201 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; + C05500000000000000000202 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; + C05500000000000000000203 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; + C05500000000000000000204 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; + C05500000000000000000205 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; + C05500000000000000000206 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; + C05500000000000000000207 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; + C05500000000000000000208 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; + C05500000000000000000301 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C05500000000000000000302 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C05500000000000000000303 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C05500000000000000000304 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C05500000000000000000305 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C05500000000000000000306 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C05500000000000000000307 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C05500000000000000000308 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; B1D2F7012D0000020027AB66 /* wavenet/slimmable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */; }; B1D2F7032D0000020027AB66 /* wavenet/slimmable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */; }; B1D2F7042D0000020027AB66 /* wavenet/slimmable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */; }; @@ -1040,6 +1059,11 @@ AA7C85F82B439AC000B5FB3A /* heapbuf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = heapbuf.h; sourceTree = ""; }; AAB7BBB62CC4B8C6000B8B6E /* get_dsp.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = get_dsp.h; sourceTree = ""; }; AAB7E0102CC4B8C6000B8B6E /* container.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = container.cpp; sourceTree = ""; }; + C05500000000000000000001 /* compiler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = compiler.h; sourceTree = ""; }; + C05500000000000000000002 /* linear.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = linear.cpp; sourceTree = ""; }; + C05500000000000000000003 /* linear.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = linear.h; sourceTree = ""; }; + C05500000000000000000004 /* nam_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nam_file.cpp; sourceTree = ""; }; + C05500000000000000000005 /* nam_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nam_file.h; sourceTree = ""; }; B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wavenet/slimmable.cpp; sourceTree = ""; }; B8E22A0A220268C4007CBF4C /* IPlugVST3_ProcessorBase.cpp */ = {isa = PBXFileReference; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = IPlugVST3_ProcessorBase.cpp; path = ../../iPlug2/IPlug/VST3/IPlugVST3_ProcessorBase.cpp; sourceTree = ""; tabWidth = 2; }; B8E22A0B220268C4007CBF4C /* IPlugVST3_ProcessorBase.h */ = {isa = PBXFileReference; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = IPlugVST3_ProcessorBase.h; path = ../../iPlug2/IPlug/VST3/IPlugVST3_ProcessorBase.h; sourceTree = ""; tabWidth = 2; }; @@ -1294,6 +1318,11 @@ 4F2FB1512A0047420027AB66 /* activations.cpp */, 4F2FB1502A0047420027AB66 /* activations.h */, AAB7E0102CC4B8C6000B8B6E /* container.cpp */, + C05500000000000000000001 /* compiler.h */, + C05500000000000000000002 /* linear.cpp */, + C05500000000000000000003 /* linear.h */, + C05500000000000000000004 /* nam_file.cpp */, + C05500000000000000000005 /* nam_file.h */, 4F2FB14B2A0047420027AB66 /* convnet.cpp */, 4F2FB1492A0047420027AB66 /* convnet.h */, 4F2FB1562A0047420027AB67 /* conv1d.cpp */, @@ -2012,6 +2041,9 @@ 4F2FB1E22A0047430027AB68 /* film.h in Headers */, 4F2FB1E32A0047430027AB68 /* gating_activations.h in Headers */, 4F2FB1E42A0047430027AB68 /* registry.h in Headers */, + C05500000000000000000101 /* compiler.h in Headers */, + C05500000000000000000102 /* linear.h in Headers */, + C05500000000000000000103 /* nam_file.h in Headers */, 4F78BE1222E73DD900AD537E /* NeuralAmpModelerAU.h in Headers */, 4F2FB1542A0047420027AB66 /* Resample.h in Headers */, 4F2FB15E2A0047420027AB66 /* wav.h in Headers */, @@ -2574,6 +2606,8 @@ B1D2F7072D0000020027AB66 /* wavenet/slimmable.cpp in Sources */, C2A2FAE112D0000120027AB66 /* wavenet/a2_fast.cpp in Sources */, AAB7E0122CC4B8C6000B8B6E /* container.cpp in Sources */, + C05500000000000000000201 /* linear.cpp in Sources */, + C05500000000000000000301 /* nam_file.cpp in Sources */, 4F2FB1CF2A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1D92A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F2FB1662A0047430027AB66 /* dsp.cpp in Sources */, @@ -2614,6 +2648,8 @@ B1D2F7042D0000020027AB66 /* wavenet/slimmable.cpp in Sources */, C2A2FAE122D0000120027AB66 /* wavenet/a2_fast.cpp in Sources */, AAB7E0132CC4B8C6000B8B6E /* container.cpp in Sources */, + C05500000000000000000202 /* linear.cpp in Sources */, + C05500000000000000000302 /* nam_file.cpp in Sources */, 4F2FB1D02A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DA2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F8C10E320BA2796006320CD /* IGraphicsEditorDelegate.cpp in Sources */, @@ -2657,6 +2693,8 @@ B1D2F7092D0000020027AB66 /* wavenet/slimmable.cpp in Sources */, C2A2FAE132D0000120027AB66 /* wavenet/a2_fast.cpp in Sources */, AAB7E0142CC4B8C6000B8B6E /* container.cpp in Sources */, + C05500000000000000000203 /* linear.cpp in Sources */, + C05500000000000000000303 /* nam_file.cpp in Sources */, 4F2FB1D12A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DB2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F3EE1D0231438D000004786 /* IGraphicsMac_view.mm in Sources */, @@ -2726,6 +2764,8 @@ B1D2F7082D0000020027AB66 /* wavenet/slimmable.cpp in Sources */, C2A2FAE142D0000120027AB66 /* wavenet/a2_fast.cpp in Sources */, AAB7E0152CC4B8C6000B8B6E /* container.cpp in Sources */, + C05500000000000000000204 /* linear.cpp in Sources */, + C05500000000000000000304 /* nam_file.cpp in Sources */, 4F2FB1D22A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DC2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F2FB1A32A0047430027AB66 /* convnet.cpp in Sources */, @@ -2763,6 +2803,8 @@ B1D2F7032D0000020027AB66 /* wavenet/slimmable.cpp in Sources */, C2A2FAE152D0000120027AB66 /* wavenet/a2_fast.cpp in Sources */, AAB7E0162CC4B8C6000B8B6E /* container.cpp in Sources */, + C05500000000000000000205 /* linear.cpp in Sources */, + C05500000000000000000305 /* nam_file.cpp in Sources */, 4F2FB1D32A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DD2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F815919205D50EB00393585 /* memorystream.cpp in Sources */, @@ -2846,6 +2888,8 @@ B1D2F7052D0000020027AB66 /* wavenet/slimmable.cpp in Sources */, C2A2FAE162D0000120027AB66 /* wavenet/a2_fast.cpp in Sources */, AAB7E0172CC4B8C6000B8B6E /* container.cpp in Sources */, + C05500000000000000000206 /* linear.cpp in Sources */, + C05500000000000000000306 /* nam_file.cpp in Sources */, 4F2FB1D42A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DE2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F2FB1A02A0047430027AB66 /* convnet.cpp in Sources */, @@ -2905,6 +2949,8 @@ B1D2F7012D0000020027AB66 /* wavenet/slimmable.cpp in Sources */, C2A2FAE172D0000120027AB66 /* wavenet/a2_fast.cpp in Sources */, AAB7E0182CC4B8C6000B8B6E /* container.cpp in Sources */, + C05500000000000000000207 /* linear.cpp in Sources */, + C05500000000000000000307 /* nam_file.cpp in Sources */, 4F2FB1D52A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DF2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4FB1F59120E4B011004157C8 /* IGraphicsMac_view.mm in Sources */, @@ -2983,6 +3029,8 @@ B1D2F7062D0000020027AB66 /* wavenet/slimmable.cpp in Sources */, C2A2FAE182D0000120027AB66 /* wavenet/a2_fast.cpp in Sources */, AAB7E0192CC4B8C6000B8B6E /* container.cpp in Sources */, + C05500000000000000000208 /* linear.cpp in Sources */, + C05500000000000000000308 /* nam_file.cpp in Sources */, 4F2FB1D62A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1E02A0047430027AB66 /* ring_buffer.cpp in Sources */, 4FFBB91F20863B0E00DDD0E7 /* vstparameters.cpp in Sources */, diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj index ec59513a1..dd6fab790 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj @@ -344,13 +344,16 @@ + + + @@ -438,7 +441,9 @@ $(IntDir)%(RelativeDir) + + @@ -464,4 +469,4 @@ - \ No newline at end of file + diff --git a/NeuralAmpModelerCore b/NeuralAmpModelerCore index 9c7b185de..daae2d0b4 160000 --- a/NeuralAmpModelerCore +++ b/NeuralAmpModelerCore @@ -1 +1 @@ -Subproject commit 9c7b185de346fe0725dea537bcee4bc38b5bb6d6 +Subproject commit daae2d0b482a5fe876258caf3fdfe177044b6295 From 304a7c442650fcfee74bb198778cd3c411602de1 Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Sun, 9 Aug 2026 15:57:43 -0700 Subject: [PATCH 2/5] Update Eigen to 5.0.1 --- eigen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eigen b/eigen index ed8cda3ce..bc3b39870 160000 --- a/eigen +++ b/eigen @@ -1 +1 @@ -Subproject commit ed8cda3ce4cb9d12640f9236fed968655a93b604 +Subproject commit bc3b39870ecb690a623a3f49149a358b95c5781d From f657ce8097df4901e0ef1781d2f645a885c8f41f Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Sat, 22 Aug 2026 16:18:20 -0700 Subject: [PATCH 3/5] Update NeuralAmpModelerCore v0.5.5 candidate --- NeuralAmpModelerCore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NeuralAmpModelerCore b/NeuralAmpModelerCore index daae2d0b4..1f9ac9bd6 160000 --- a/NeuralAmpModelerCore +++ b/NeuralAmpModelerCore @@ -1 +1 @@ -Subproject commit daae2d0b482a5fe876258caf3fdfe177044b6295 +Subproject commit 1f9ac9bd65093e08449a9eced8b472b9d7aa2ffd From b052253cc5fae1fdd1e3358b05953e33abf62758 Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Sat, 22 Aug 2026 16:38:04 -0700 Subject: [PATCH 4/5] Add Sequential model support --- .../projects/NeuralAmpModeler-aax.vcxproj | 2 ++ .../projects/NeuralAmpModeler-app.vcxproj | 2 ++ .../project.pbxproj | 8 +++++++ .../project.pbxproj | 22 +++++++++++++++++++ .../projects/NeuralAmpModeler-vst3.vcxproj | 2 ++ NeuralAmpModelerCore | 2 +- 6 files changed, 37 insertions(+), 1 deletion(-) diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj index 83332aa46..1b7a34217 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj @@ -430,6 +430,7 @@ + @@ -545,6 +546,7 @@ + diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj index 769de1ac8..088f3a61e 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj @@ -345,6 +345,7 @@ + @@ -416,6 +417,7 @@ + diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj index 4de046d19..8b98f2fd9 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj @@ -58,6 +58,8 @@ C05510000000000000000103 /* linear.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000003 /* linear.h */; }; C05510000000000000000104 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05510000000000000000004 /* nam_file.cpp */; }; C05510000000000000000105 /* nam_file.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000005 /* nam_file.h */; }; + C05510000000000000000106 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05510000000000000000006 /* sequential.cpp */; }; + C05510000000000000000107 /* sequential.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000007 /* sequential.h */; }; 4FBDC96529FFF143004FF203 /* get_dsp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4FBDC94C29FFF143004FF203 /* get_dsp.cpp */; }; 4FBDC97729FFF143004FF203 /* conv1d.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4FBDC97029FFF143004FF203 /* conv1d.cpp */; }; 4FBDC97829FFF143004FF203 /* conv1d.h in Headers */ = {isa = PBXBuildFile; fileRef = 4FBDC97129FFF143004FF203 /* conv1d.h */; }; @@ -315,6 +317,8 @@ C05510000000000000000003 /* linear.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = linear.h; sourceTree = ""; }; C05510000000000000000004 /* nam_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nam_file.cpp; sourceTree = ""; }; C05510000000000000000005 /* nam_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nam_file.h; sourceTree = ""; }; + C05510000000000000000006 /* sequential.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sequential.cpp; sourceTree = ""; }; + C05510000000000000000007 /* sequential.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sequential.h; sourceTree = ""; }; 4FBDC94C29FFF143004FF203 /* get_dsp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = get_dsp.cpp; sourceTree = ""; }; 4FC46E58231440C8000045E7 /* web */ = {isa = PBXFileReference; lastKnownFileType = folder; name = web; path = ../resources/web; sourceTree = ""; }; 4FC6982F293BA47F0076EC33 /* NeuralAmpModelerAU.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = NeuralAmpModelerAU.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -706,6 +710,8 @@ C05510000000000000000003 /* linear.h */, C05510000000000000000004 /* nam_file.cpp */, C05510000000000000000005 /* nam_file.h */, + C05510000000000000000006 /* sequential.cpp */, + C05510000000000000000007 /* sequential.h */, 4FBDC94529FFF143004FF203 /* model.h */, 4FBDC97029FFF143004FF203 /* conv1d.cpp */, 4FBDC97129FFF143004FF203 /* conv1d.h */, @@ -897,6 +903,7 @@ C05510000000000000000101 /* compiler.h in Headers */, C05510000000000000000103 /* linear.h in Headers */, C05510000000000000000105 /* nam_file.h in Headers */, + C05510000000000000000107 /* sequential.h in Headers */, 4FBDC96029FFF143004FF203 /* util.h in Headers */, 4FBDC94F29FFF143004FF203 /* wav.h in Headers */, ); @@ -1113,6 +1120,7 @@ 4FBDC98129FFF143004FF203 /* container.cpp in Sources */, C05510000000000000000102 /* linear.cpp in Sources */, C05510000000000000000104 /* nam_file.cpp in Sources */, + C05510000000000000000106 /* sequential.cpp in Sources */, 4FBDC97729FFF143004FF203 /* conv1d.cpp in Sources */, 4FBDC97929FFF143004FF203 /* ring_buffer.cpp in Sources */, 4FC6984C293BA6010076EC33 /* IGraphicsCoreText.mm in Sources */, diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj index 43772cd0a..3fabca476 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj @@ -464,6 +464,7 @@ C05500000000000000000101 /* compiler.h in Headers */ = {isa = PBXBuildFile; fileRef = C05500000000000000000001 /* compiler.h */; }; C05500000000000000000102 /* linear.h in Headers */ = {isa = PBXBuildFile; fileRef = C05500000000000000000003 /* linear.h */; }; C05500000000000000000103 /* nam_file.h in Headers */ = {isa = PBXBuildFile; fileRef = C05500000000000000000005 /* nam_file.h */; }; + C05500000000000000000104 /* sequential.h in Headers */ = {isa = PBXBuildFile; fileRef = C05500000000000000000007 /* sequential.h */; }; C05500000000000000000201 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; C05500000000000000000202 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; C05500000000000000000203 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; @@ -480,6 +481,14 @@ C05500000000000000000306 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; C05500000000000000000307 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; C05500000000000000000308 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C05500000000000000000401 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; + C05500000000000000000402 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; + C05500000000000000000403 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; + C05500000000000000000404 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; + C05500000000000000000405 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; + C05500000000000000000406 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; + C05500000000000000000407 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; + C05500000000000000000408 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; B1D2F7012D0000020027AB66 /* wavenet/slimmable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */; }; B1D2F7032D0000020027AB66 /* wavenet/slimmable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */; }; B1D2F7042D0000020027AB66 /* wavenet/slimmable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */; }; @@ -1064,6 +1073,8 @@ C05500000000000000000003 /* linear.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = linear.h; sourceTree = ""; }; C05500000000000000000004 /* nam_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nam_file.cpp; sourceTree = ""; }; C05500000000000000000005 /* nam_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nam_file.h; sourceTree = ""; }; + C05500000000000000000006 /* sequential.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sequential.cpp; sourceTree = ""; }; + C05500000000000000000007 /* sequential.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sequential.h; sourceTree = ""; }; B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wavenet/slimmable.cpp; sourceTree = ""; }; B8E22A0A220268C4007CBF4C /* IPlugVST3_ProcessorBase.cpp */ = {isa = PBXFileReference; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = IPlugVST3_ProcessorBase.cpp; path = ../../iPlug2/IPlug/VST3/IPlugVST3_ProcessorBase.cpp; sourceTree = ""; tabWidth = 2; }; B8E22A0B220268C4007CBF4C /* IPlugVST3_ProcessorBase.h */ = {isa = PBXFileReference; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = IPlugVST3_ProcessorBase.h; path = ../../iPlug2/IPlug/VST3/IPlugVST3_ProcessorBase.h; sourceTree = ""; tabWidth = 2; }; @@ -1323,6 +1334,8 @@ C05500000000000000000003 /* linear.h */, C05500000000000000000004 /* nam_file.cpp */, C05500000000000000000005 /* nam_file.h */, + C05500000000000000000006 /* sequential.cpp */, + C05500000000000000000007 /* sequential.h */, 4F2FB14B2A0047420027AB66 /* convnet.cpp */, 4F2FB1492A0047420027AB66 /* convnet.h */, 4F2FB1562A0047420027AB67 /* conv1d.cpp */, @@ -2044,6 +2057,7 @@ C05500000000000000000101 /* compiler.h in Headers */, C05500000000000000000102 /* linear.h in Headers */, C05500000000000000000103 /* nam_file.h in Headers */, + C05500000000000000000104 /* sequential.h in Headers */, 4F78BE1222E73DD900AD537E /* NeuralAmpModelerAU.h in Headers */, 4F2FB1542A0047420027AB66 /* Resample.h in Headers */, 4F2FB15E2A0047420027AB66 /* wav.h in Headers */, @@ -2608,6 +2622,7 @@ AAB7E0122CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000201 /* linear.cpp in Sources */, C05500000000000000000301 /* nam_file.cpp in Sources */, + C05500000000000000000401 /* sequential.cpp in Sources */, 4F2FB1CF2A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1D92A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F2FB1662A0047430027AB66 /* dsp.cpp in Sources */, @@ -2650,6 +2665,7 @@ AAB7E0132CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000202 /* linear.cpp in Sources */, C05500000000000000000302 /* nam_file.cpp in Sources */, + C05500000000000000000402 /* sequential.cpp in Sources */, 4F2FB1D02A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DA2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F8C10E320BA2796006320CD /* IGraphicsEditorDelegate.cpp in Sources */, @@ -2695,6 +2711,7 @@ AAB7E0142CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000203 /* linear.cpp in Sources */, C05500000000000000000303 /* nam_file.cpp in Sources */, + C05500000000000000000403 /* sequential.cpp in Sources */, 4F2FB1D12A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DB2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F3EE1D0231438D000004786 /* IGraphicsMac_view.mm in Sources */, @@ -2766,6 +2783,7 @@ AAB7E0152CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000204 /* linear.cpp in Sources */, C05500000000000000000304 /* nam_file.cpp in Sources */, + C05500000000000000000404 /* sequential.cpp in Sources */, 4F2FB1D22A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DC2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F2FB1A32A0047430027AB66 /* convnet.cpp in Sources */, @@ -2805,6 +2823,7 @@ AAB7E0162CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000205 /* linear.cpp in Sources */, C05500000000000000000305 /* nam_file.cpp in Sources */, + C05500000000000000000405 /* sequential.cpp in Sources */, 4F2FB1D32A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DD2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F815919205D50EB00393585 /* memorystream.cpp in Sources */, @@ -2890,6 +2909,7 @@ AAB7E0172CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000206 /* linear.cpp in Sources */, C05500000000000000000306 /* nam_file.cpp in Sources */, + C05500000000000000000406 /* sequential.cpp in Sources */, 4F2FB1D42A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DE2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4F2FB1A02A0047430027AB66 /* convnet.cpp in Sources */, @@ -2951,6 +2971,7 @@ AAB7E0182CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000207 /* linear.cpp in Sources */, C05500000000000000000307 /* nam_file.cpp in Sources */, + C05500000000000000000407 /* sequential.cpp in Sources */, 4F2FB1D52A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DF2A0047430027AB66 /* ring_buffer.cpp in Sources */, 4FB1F59120E4B011004157C8 /* IGraphicsMac_view.mm in Sources */, @@ -3031,6 +3052,7 @@ AAB7E0192CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000208 /* linear.cpp in Sources */, C05500000000000000000308 /* nam_file.cpp in Sources */, + C05500000000000000000408 /* sequential.cpp in Sources */, 4F2FB1D62A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1E02A0047430027AB66 /* ring_buffer.cpp in Sources */, 4FFBB91F20863B0E00DDD0E7 /* vstparameters.cpp in Sources */, diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj index dd6fab790..f5c6bf418 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj @@ -354,6 +354,7 @@ + @@ -444,6 +445,7 @@ + diff --git a/NeuralAmpModelerCore b/NeuralAmpModelerCore index 1f9ac9bd6..d2b295466 160000 --- a/NeuralAmpModelerCore +++ b/NeuralAmpModelerCore @@ -1 +1 @@ -Subproject commit 1f9ac9bd65093e08449a9eced8b472b9d7aa2ffd +Subproject commit d2b295466f2a96a398bb03caf01a5e59b7f45b73 From 1c1da51f9f12cfd4f9b3afb4b7582eab68541d3d Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Mon, 2 Nov 2026 14:47:40 -0800 Subject: [PATCH 5/5] Update NeuralAmpModelerCore to v0.6.0 --- CONTRIBUTING.md | 19 ++- NeuralAmpModeler/NeuralAmpModeler.h | 116 +------------- NeuralAmpModeler/ResamplingNAM.h | 142 ++++++++++++++++++ .../projects/NeuralAmpModeler-aax.vcxproj | 5 + .../projects/NeuralAmpModeler-app.vcxproj | 5 + .../project.pbxproj | 8 + .../project.pbxproj | 22 +++ .../projects/NeuralAmpModeler-vst3.vcxproj | 5 + NeuralAmpModelerCore | 2 +- 9 files changed, 201 insertions(+), 123 deletions(-) create mode 100644 NeuralAmpModeler/ResamplingNAM.h diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0f91be7b8..2f184cf9c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,9 +2,8 @@ Thanks for your interest in the project! Here are a few quick tips to make sure that your PR will go smoothly: ## "Communication is the best policy" -This is a fun, scrappy project. -Things might change--quickly--including these guidelines. -If you're not sure about something or have a suggestion, reach out! +I prefer to communicate about work via the [Issues](https://github.com/sdatkinson/NeuralAmpModelerPlugin/issues). +If you want to see something make an Issue. (Please check the existing Issues first to avoid duplicating something, but also please _do_ make a new Issue if you want to discuss something that's not the same as e.g. the specific problem in a bug report.) ## Have an idea? If you have an idea that you'd like to see in the plugin, start by [raising an Issue](https://github.com/sdatkinson/NeuralAmpModelerPlugin/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=%5BFEATURE%5D) and describe what you'd like to see. @@ -15,8 +14,15 @@ If you'd like to work on an [existing Issue](https://github.com/sdatkinson/Neura I would like to ask that you please try to give me a timeline for your work--I'd hate to have you duplicate work if I know that I'm going to e.g. get to it today and beat you to the punch. ## Testing -This repo doesn't currently have unit tests (gasp! Sorry! If you want to help by proposing a framework, please [raise an Issue](https://github.com/sdatkinson/NeuralAmpModelerPlugin/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=%5BFEATURE%5D)!) -However, there are a few things I'd appreciate if you did to make sure that everything is working as expected: +The model sample-rate adapter has standalone regression tests that do not require a plugin SDK: + +```bash +cmake -S tests -B build-tests -DCMAKE_BUILD_TYPE=Release +cmake --build build-tests +ctest --test-dir build-tests --output-on-failure +``` + +Additionally, there are a few things I'd appreciate if you did to make sure that everything is working as expected: - [ ] The standalone plugin builds. - [ ] The plugin runs. - [ ] The plugin makes sound. @@ -29,8 +35,7 @@ However, there are a few things I'd appreciate if you did to make sure that ever - [ ] The AU plugin builds. ## Code style -I don't care too much about the specifics of style, but it helps keep things orderly and helps make sure that the changes in a PR are real changes and not just e.g. an IDE replacing tabs with spaces. -Going on the main criterion of ease of adoption, the C++ code (`.cpp` and `.h` files) are formatted according to the LLVM code style that `clang-format` enforces. +As far as formatting, the C++ code (`.cpp` and `.h` files) are formatted according to the LLVM code style that `clang-format` enforces. To easily apply the format to your code, run ```bash diff --git a/NeuralAmpModeler/NeuralAmpModeler.h b/NeuralAmpModeler/NeuralAmpModeler.h index f5dae839d..7e7c377bb 100644 --- a/NeuralAmpModeler/NeuralAmpModeler.h +++ b/NeuralAmpModeler/NeuralAmpModeler.h @@ -4,9 +4,7 @@ #include "../AudioDSPTools/dsp/NoiseGate.h" #include "../AudioDSPTools/dsp/dsp.h" #include "../AudioDSPTools/dsp/wav.h" -#include "../AudioDSPTools/dsp/ResamplingContainer/ResamplingContainer.h" -#include "../NeuralAmpModelerCore/NAM/dsp.h" -#include "../NeuralAmpModelerCore/NAM/slimmable.h" +#include "ResamplingNAM.h" #include "Colors.h" #include "ToneStack.h" @@ -81,118 +79,6 @@ enum EMsgTags kNumMsgTags }; -// Get the sample rate of a NAM model. -// Sometimes, the model doesn't know its own sample rate; this wrapper guesses 48k based on the way that most -// people have used NAM in the past. -double GetNAMSampleRate(const std::unique_ptr& model) -{ - // Some models are from when we didn't have sample rate in the model. - // For those, this wraps with the assumption that they're 48k models, which is probably true. - const double assumedSampleRate = 48000.0; - const double reportedEncapsulatedSampleRate = model->GetExpectedSampleRate(); - const double encapsulatedSampleRate = - reportedEncapsulatedSampleRate <= 0.0 ? assumedSampleRate : reportedEncapsulatedSampleRate; - return encapsulatedSampleRate; -}; - -class ResamplingNAM : public nam::DSP -{ -public: - // Resampling wrapper around the NAM models - ResamplingNAM(std::unique_ptr encapsulated, const double expected_sample_rate) - : nam::DSP(encapsulated->NumInputChannels(), encapsulated->NumOutputChannels(), expected_sample_rate) - , mEncapsulated(std::move(encapsulated)) - , mResampler(GetNAMSampleRate(mEncapsulated)) - { - // Assign the encapsulated object's processing function to this object's member so that the resampler can use it: - auto ProcessBlockFunc = [&](NAM_SAMPLE** input, NAM_SAMPLE** output, int numFrames) { - mEncapsulated->process(input, output, numFrames); - }; - mBlockProcessFunc = ProcessBlockFunc; - - // Get the other information from the encapsulated NAM so that we can tell the outside world about what we're - // holding. - if (mEncapsulated->HasLoudness()) - { - SetLoudness(mEncapsulated->GetLoudness()); - } - if (mEncapsulated->HasInputLevel()) - { - SetInputLevel(mEncapsulated->GetInputLevel()); - } - if (mEncapsulated->HasOutputLevel()) - { - SetOutputLevel(mEncapsulated->GetOutputLevel()); - } - - // NOTE: prewarm samples doesn't mean anything--we can prewarm the encapsulated model as it likes and be good to - // go. - // _prewarm_samples = 0; - - // And be ready - int maxBlockSize = 2048; // Conservative - Reset(expected_sample_rate, maxBlockSize); - }; - - ~ResamplingNAM() = default; - - void prewarm() override { mEncapsulated->prewarm(); }; - - void process(NAM_SAMPLE** input, NAM_SAMPLE** output, const int num_frames) override - { - if (num_frames > mMaxExternalBlockSize) - // We can afford to be careful - throw std::runtime_error("More frames were provided than the max expected!"); - - if (!NeedToResample()) - { - mEncapsulated->process(input, output, num_frames); - } - else - { - mResampler.ProcessBlock(input, output, num_frames, mBlockProcessFunc); - } - }; - - int GetLatency() const { return NeedToResample() ? mResampler.GetLatency() : 0; }; - - void Reset(const double sampleRate, const int maxBlockSize) override - { - mExpectedSampleRate = sampleRate; - mMaxExternalBlockSize = maxBlockSize; - mResampler.Reset(sampleRate, maxBlockSize); - - // Allocations in the encapsulated model (HACK) - // Stolen some code from the resampler; it'd be nice to have these exposed as methods? :) - const double mUpRatio = sampleRate / GetEncapsulatedSampleRate(); - const auto maxEncapsulatedBlockSize = static_cast(std::ceil(static_cast(maxBlockSize) / mUpRatio)); - mEncapsulated->ResetAndPrewarm(sampleRate, maxEncapsulatedBlockSize); - }; - - // So that we can let the world know if we're resampling (useful for debugging) - double GetEncapsulatedSampleRate() const { return GetNAMSampleRate(mEncapsulated); }; - - nam::SlimmableModel* GetSlimmableModel() { return dynamic_cast(mEncapsulated.get()); } - const nam::SlimmableModel* GetSlimmableModel() const - { - return dynamic_cast(mEncapsulated.get()); - } - -private: - bool NeedToResample() const { return GetExpectedSampleRate() != GetEncapsulatedSampleRate(); }; - // The encapsulated NAM - std::unique_ptr mEncapsulated; - - // The resampling wrapper - dsp::ResamplingContainer mResampler; - - // Used to check that we don't get too large a block to process. - int mMaxExternalBlockSize = 0; - - // This function is defined to conform to the interface expected by the iPlug2 resampler. - std::function mBlockProcessFunc; -}; - class NeuralAmpModeler final : public iplug::Plugin { public: diff --git a/NeuralAmpModeler/ResamplingNAM.h b/NeuralAmpModeler/ResamplingNAM.h new file mode 100644 index 000000000..7f87d2fe4 --- /dev/null +++ b/NeuralAmpModeler/ResamplingNAM.h @@ -0,0 +1,142 @@ +#pragma once + +#include +#include +#include +#include +#include +#include + +#include "../iPlug2/IPlug/IPlugConstants.h" + +// AudioDSPTools uses iPlug's constants without including their declarations. +#ifndef DEFAULT_BLOCK_SIZE +namespace dsp +{ +using iplug::DEFAULT_BLOCK_SIZE; +} +#endif +#include "../AudioDSPTools/dsp/ResamplingContainer/ResamplingContainer.h" +#include "../NeuralAmpModelerCore/NAM/dsp.h" +#include "../NeuralAmpModelerCore/NAM/slimmable.h" + +// Get the sample rate of a NAM model. +// Sometimes, the model doesn't know its own sample rate; this wrapper guesses 48k based on the way that most +// people have used NAM in the past. +inline double GetNAMSampleRate(const std::unique_ptr& model) +{ + // Some models are from when we didn't have sample rate in the model. + // For those, this wraps with the assumption that they're 48k models, which is probably true. + const double assumedSampleRate = 48000.0; + const double reportedEncapsulatedSampleRate = model->GetExpectedSampleRate(); + const double encapsulatedSampleRate = + reportedEncapsulatedSampleRate <= 0.0 ? assumedSampleRate : reportedEncapsulatedSampleRate; + return encapsulatedSampleRate; +}; + +class ResamplingNAM : public nam::DSP +{ +public: + // Resampling wrapper around the NAM models + ResamplingNAM(std::unique_ptr encapsulated, const double expected_sample_rate) + : nam::DSP(encapsulated->NumInputChannels(), encapsulated->NumOutputChannels(), expected_sample_rate) + , mEncapsulated(std::move(encapsulated)) + , mSupportsArbitrarySampleRate(mEncapsulated->SupportsArbitrarySampleRate()) + , mResampler(GetNAMSampleRate(mEncapsulated)) + { + // Assign the encapsulated object's processing function to this object's member so that the resampler can use it: + auto ProcessBlockFunc = [&](NAM_SAMPLE** input, NAM_SAMPLE** output, int numFrames) { + mEncapsulated->process(input, output, numFrames); + }; + mBlockProcessFunc = ProcessBlockFunc; + + // Get the other information from the encapsulated NAM so that we can tell the outside world about what we're + // holding. + if (mEncapsulated->HasLoudness()) + { + SetLoudness(mEncapsulated->GetLoudness()); + } + if (mEncapsulated->HasInputLevel()) + { + SetInputLevel(mEncapsulated->GetInputLevel()); + } + if (mEncapsulated->HasOutputLevel()) + { + SetOutputLevel(mEncapsulated->GetOutputLevel()); + } + + // NOTE: prewarm samples doesn't mean anything--we can prewarm the encapsulated model as it likes and be good to + // go. + // _prewarm_samples = 0; + + // And be ready + int maxBlockSize = 2048; // Conservative + Reset(expected_sample_rate, maxBlockSize); + }; + + ~ResamplingNAM() = default; + + void prewarm() override { mEncapsulated->prewarm(); }; + + void process(NAM_SAMPLE** input, NAM_SAMPLE** output, const int num_frames) override + { + if (num_frames > mMaxExternalBlockSize) + // We can afford to be careful + throw std::runtime_error("More frames were provided than the max expected!"); + + if (!NeedToResample()) + { + mEncapsulated->process(input, output, num_frames); + } + else + { + mResampler.ProcessBlock(input, output, num_frames, mBlockProcessFunc); + } + }; + + int GetLatency() const { return NeedToResample() ? mResampler.GetLatency() : 0; }; + + void Reset(const double sampleRate, const int maxBlockSize) override + { + mExpectedSampleRate = sampleRate; + mMaxExternalBlockSize = maxBlockSize; + // Adaptive models convert their own coefficients to the host rate. Fixed-rate models must be reset at the + // rate of the audio they will actually receive, including Linear children inside a Sequential model. + const double modelSampleRate = mSupportsArbitrarySampleRate ? sampleRate : GetEncapsulatedSampleRate(); + int maxEncapsulatedBlockSize = maxBlockSize; + if (NeedToResample()) + { + mResampler.Reset(sampleRate, maxBlockSize); + maxEncapsulatedBlockSize = + static_cast(std::ceil(static_cast(maxBlockSize) * modelSampleRate / sampleRate)); + } + mEncapsulated->Reset(modelSampleRate, maxEncapsulatedBlockSize); + }; + + // So that we can let the world know if we're resampling (useful for debugging) + double GetEncapsulatedSampleRate() const { return GetNAMSampleRate(mEncapsulated); }; + + nam::SlimmableModel* GetSlimmableModel() { return dynamic_cast(mEncapsulated.get()); } + const nam::SlimmableModel* GetSlimmableModel() const + { + return dynamic_cast(mEncapsulated.get()); + } + +private: + bool NeedToResample() const + { + return !mSupportsArbitrarySampleRate && GetExpectedSampleRate() != GetEncapsulatedSampleRate(); + }; + // The encapsulated NAM + std::unique_ptr mEncapsulated; + const bool mSupportsArbitrarySampleRate; + + // The resampling wrapper + dsp::ResamplingContainer mResampler; + + // Used to check that we don't get too large a block to process. + int mMaxExternalBlockSize = 0; + + // This function is defined to conform to the interface expected by the iPlug2 resampler. + std::function mBlockProcessFunc; +}; diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj index 1b7a34217..bd349d97f 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-aax.vcxproj @@ -430,6 +430,9 @@ + + $(IntDir)nam_wav.obj + @@ -546,6 +549,8 @@ + + diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj index 088f3a61e..4fe48ba7a 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-app.vcxproj @@ -345,6 +345,8 @@ + + @@ -417,6 +419,9 @@ + + $(IntDir)nam_wav.obj + diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj index 8b98f2fd9..0955b1922 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj @@ -57,6 +57,7 @@ C05510000000000000000102 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05510000000000000000002 /* linear.cpp */; }; C05510000000000000000103 /* linear.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000003 /* linear.h */; }; C05510000000000000000104 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05510000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000101 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05510000000000000000105 /* nam_file.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000005 /* nam_file.h */; }; C05510000000000000000106 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05510000000000000000006 /* sequential.cpp */; }; C05510000000000000000107 /* sequential.h in Headers */ = {isa = PBXBuildFile; fileRef = C05510000000000000000007 /* sequential.h */; }; @@ -316,7 +317,9 @@ C05510000000000000000002 /* linear.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = linear.cpp; sourceTree = ""; }; C05510000000000000000003 /* linear.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = linear.h; sourceTree = ""; }; C05510000000000000000004 /* nam_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nam_file.cpp; sourceTree = ""; }; + C06000000000000000000001 /* wav.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wav.cpp; sourceTree = ""; }; C05510000000000000000005 /* nam_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nam_file.h; sourceTree = ""; }; + C06000000000000000000002 /* wav.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wav.h; sourceTree = ""; }; C05510000000000000000006 /* sequential.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sequential.cpp; sourceTree = ""; }; C05510000000000000000007 /* sequential.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sequential.h; sourceTree = ""; }; 4FBDC94C29FFF143004FF203 /* get_dsp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = get_dsp.cpp; sourceTree = ""; }; @@ -376,6 +379,7 @@ 4FFF108420A1036200D3092F /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = config.h; path = ../config.h; sourceTree = ""; }; 4FFF108720A1036200D3092F /* NeuralAmpModeler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NeuralAmpModeler.cpp; path = ../NeuralAmpModeler.cpp; sourceTree = ""; }; 4FFF108820A1036200D3092F /* NeuralAmpModeler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NeuralAmpModeler.h; path = ../NeuralAmpModeler.h; sourceTree = ""; }; + C06000000000000000000003 /* ResamplingNAM.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ResamplingNAM.h; path = ../ResamplingNAM.h; sourceTree = ""; }; 91236D0D1B08F42B00734C5E /* NeuralAmpModeler.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NeuralAmpModeler.app; sourceTree = BUILT_PRODUCTS_DIR; }; 91236D771B08F59300734C5E /* NeuralAmpModelerAppExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NeuralAmpModelerAppExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; }; AA341E292B9E5A650069C260 /* ToneStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ToneStack.h; path = ../ToneStack.h; sourceTree = ""; }; @@ -709,7 +713,9 @@ C05510000000000000000002 /* linear.cpp */, C05510000000000000000003 /* linear.h */, C05510000000000000000004 /* nam_file.cpp */, + C06000000000000000000001 /* wav.cpp */, C05510000000000000000005 /* nam_file.h */, + C06000000000000000000002 /* wav.h */, C05510000000000000000006 /* sequential.cpp */, C05510000000000000000007 /* sequential.h */, 4FBDC94529FFF143004FF203 /* model.h */, @@ -808,6 +814,7 @@ 4FBDC93E29FFF143004FF203 /* NAM */, 4FFF108420A1036200D3092F /* config.h */, 4FFF108820A1036200D3092F /* NeuralAmpModeler.h */, + C06000000000000000000003 /* ResamplingNAM.h */, 4FFF108720A1036200D3092F /* NeuralAmpModeler.cpp */, 4F9979242A066F960066545C /* NeuralAmpModelerControls.h */, AA341E2A2B9E5A650069C260 /* ToneStack.cpp */, @@ -1120,6 +1127,7 @@ 4FBDC98129FFF143004FF203 /* container.cpp in Sources */, C05510000000000000000102 /* linear.cpp in Sources */, C05510000000000000000104 /* nam_file.cpp in Sources */, + C06000000000000000000101 /* wav.cpp in Sources */, C05510000000000000000106 /* sequential.cpp in Sources */, 4FBDC97729FFF143004FF203 /* conv1d.cpp in Sources */, 4FBDC97929FFF143004FF203 /* ring_buffer.cpp in Sources */, diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj index 3fabca476..d65d059d8 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-macOS.xcodeproj/project.pbxproj @@ -474,13 +474,21 @@ C05500000000000000000207 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; C05500000000000000000208 /* linear.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000002 /* linear.cpp */; }; C05500000000000000000301 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000102 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05500000000000000000302 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000103 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05500000000000000000303 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000104 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05500000000000000000304 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000105 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05500000000000000000305 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000106 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05500000000000000000306 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000107 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05500000000000000000307 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000108 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05500000000000000000308 /* nam_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000004 /* nam_file.cpp */; }; + C06000000000000000000109 /* wav.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06000000000000000000001 /* wav.cpp */; }; C05500000000000000000401 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; C05500000000000000000402 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; C05500000000000000000403 /* sequential.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C05500000000000000000006 /* sequential.cpp */; }; @@ -716,6 +724,7 @@ 4F35DEAC207E5C5A00867D8F /* IPlugPluginBase.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = IPlugPluginBase.h; path = ../../iPlug2/IPlug/IPlugPluginBase.h; sourceTree = ""; tabWidth = 2; }; 4F3862ED2014BBEC0009F402 /* NeuralAmpModeler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NeuralAmpModeler.cpp; path = ../NeuralAmpModeler.cpp; sourceTree = ""; }; 4F3862EE2014BBEC0009F402 /* NeuralAmpModeler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NeuralAmpModeler.h; path = ../NeuralAmpModeler.h; sourceTree = ""; }; + C06000000000000000000003 /* ResamplingNAM.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ResamplingNAM.h; path = ../ResamplingNAM.h; sourceTree = ""; }; 4F3862FF2014BCC70009F402 /* scripts */ = {isa = PBXFileReference; lastKnownFileType = folder; name = scripts; path = ../scripts; sourceTree = ""; }; 4F3907602013EBA300DDA490 /* NeuralAmpModeler.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NeuralAmpModeler.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 4F3907772013EC0400DDA490 /* IPlugAUViewController.mm */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; name = IPlugAUViewController.mm; path = ../../iPlug2/IPlug/AUv3/IPlugAUViewController.mm; sourceTree = ""; }; @@ -1072,7 +1081,9 @@ C05500000000000000000002 /* linear.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = linear.cpp; sourceTree = ""; }; C05500000000000000000003 /* linear.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = linear.h; sourceTree = ""; }; C05500000000000000000004 /* nam_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nam_file.cpp; sourceTree = ""; }; + C06000000000000000000001 /* wav.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wav.cpp; sourceTree = ""; }; C05500000000000000000005 /* nam_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nam_file.h; sourceTree = ""; }; + C06000000000000000000002 /* wav.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wav.h; sourceTree = ""; }; C05500000000000000000006 /* sequential.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sequential.cpp; sourceTree = ""; }; C05500000000000000000007 /* sequential.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sequential.h; sourceTree = ""; }; B1D2F7002D0000010027AB66 /* wavenet/slimmable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wavenet/slimmable.cpp; sourceTree = ""; }; @@ -1154,6 +1165,7 @@ AA355E2C295B688F0061AA3D /* Colors.h */, 52FBBED30D0CF143001C8B8A /* config.h */, 4F3862EE2014BBEC0009F402 /* NeuralAmpModeler.h */, + C06000000000000000000003 /* ResamplingNAM.h */, 4F3862ED2014BBEC0009F402 /* NeuralAmpModeler.cpp */, 4F9979232A066F8B0066545C /* NeuralAmpModelerControls.h */, AA341E1B2B9E5A530069C260 /* ToneStack.cpp */, @@ -1333,7 +1345,9 @@ C05500000000000000000002 /* linear.cpp */, C05500000000000000000003 /* linear.h */, C05500000000000000000004 /* nam_file.cpp */, + C06000000000000000000001 /* wav.cpp */, C05500000000000000000005 /* nam_file.h */, + C06000000000000000000002 /* wav.h */, C05500000000000000000006 /* sequential.cpp */, C05500000000000000000007 /* sequential.h */, 4F2FB14B2A0047420027AB66 /* convnet.cpp */, @@ -2622,6 +2636,7 @@ AAB7E0122CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000201 /* linear.cpp in Sources */, C05500000000000000000301 /* nam_file.cpp in Sources */, + C06000000000000000000102 /* wav.cpp in Sources */, C05500000000000000000401 /* sequential.cpp in Sources */, 4F2FB1CF2A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1D92A0047430027AB66 /* ring_buffer.cpp in Sources */, @@ -2665,6 +2680,7 @@ AAB7E0132CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000202 /* linear.cpp in Sources */, C05500000000000000000302 /* nam_file.cpp in Sources */, + C06000000000000000000103 /* wav.cpp in Sources */, C05500000000000000000402 /* sequential.cpp in Sources */, 4F2FB1D02A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DA2A0047430027AB66 /* ring_buffer.cpp in Sources */, @@ -2711,6 +2727,7 @@ AAB7E0142CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000203 /* linear.cpp in Sources */, C05500000000000000000303 /* nam_file.cpp in Sources */, + C06000000000000000000104 /* wav.cpp in Sources */, C05500000000000000000403 /* sequential.cpp in Sources */, 4F2FB1D12A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DB2A0047430027AB66 /* ring_buffer.cpp in Sources */, @@ -2783,6 +2800,7 @@ AAB7E0152CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000204 /* linear.cpp in Sources */, C05500000000000000000304 /* nam_file.cpp in Sources */, + C06000000000000000000105 /* wav.cpp in Sources */, C05500000000000000000404 /* sequential.cpp in Sources */, 4F2FB1D22A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DC2A0047430027AB66 /* ring_buffer.cpp in Sources */, @@ -2823,6 +2841,7 @@ AAB7E0162CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000205 /* linear.cpp in Sources */, C05500000000000000000305 /* nam_file.cpp in Sources */, + C06000000000000000000106 /* wav.cpp in Sources */, C05500000000000000000405 /* sequential.cpp in Sources */, 4F2FB1D32A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DD2A0047430027AB66 /* ring_buffer.cpp in Sources */, @@ -2909,6 +2928,7 @@ AAB7E0172CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000206 /* linear.cpp in Sources */, C05500000000000000000306 /* nam_file.cpp in Sources */, + C06000000000000000000107 /* wav.cpp in Sources */, C05500000000000000000406 /* sequential.cpp in Sources */, 4F2FB1D42A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DE2A0047430027AB66 /* ring_buffer.cpp in Sources */, @@ -2971,6 +2991,7 @@ AAB7E0182CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000207 /* linear.cpp in Sources */, C05500000000000000000307 /* nam_file.cpp in Sources */, + C06000000000000000000108 /* wav.cpp in Sources */, C05500000000000000000407 /* sequential.cpp in Sources */, 4F2FB1D52A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1DF2A0047430027AB66 /* ring_buffer.cpp in Sources */, @@ -3052,6 +3073,7 @@ AAB7E0192CC4B8C6000B8B6E /* container.cpp in Sources */, C05500000000000000000208 /* linear.cpp in Sources */, C05500000000000000000308 /* nam_file.cpp in Sources */, + C06000000000000000000109 /* wav.cpp in Sources */, C05500000000000000000408 /* sequential.cpp in Sources */, 4F2FB1D62A0047430027AB66 /* conv1d.cpp in Sources */, 4F2FB1E02A0047430027AB66 /* ring_buffer.cpp in Sources */, diff --git a/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj b/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj index f5c6bf418..1039ff0f6 100644 --- a/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj +++ b/NeuralAmpModeler/projects/NeuralAmpModeler-vst3.vcxproj @@ -354,6 +354,8 @@ + + @@ -445,6 +447,9 @@ + + $(IntDir)nam_wav.obj + diff --git a/NeuralAmpModelerCore b/NeuralAmpModelerCore index d2b295466..0b3d3c97b 160000 --- a/NeuralAmpModelerCore +++ b/NeuralAmpModelerCore @@ -1 +1 @@ -Subproject commit d2b295466f2a96a398bb03caf01a5e59b7f45b73 +Subproject commit 0b3d3c97b0859a3a8c92a8628c4dd89a25eb5842