diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5429fcf0..7d5ea8de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,9 @@ name: build -on: [push, pull_request] +on: + push: + tags: + - 'build_*' env: CACHE_VERSION: 4 diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml deleted file mode 100644 index 3be06fea..00000000 --- a/.github/workflows/irc.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: irc - -on: [push, pull_request] - -jobs: - notification: - runs-on: ubuntu-latest - name: IRC notification - steps: - - name: Format message - run: | - echo commitmessage=$(echo "${{ github.event.commits[0].message }}" | head -n 1) >> $GITHUB_ENV - - name: Format message - run: | - echo message="${{ github.actor }} pushed ${{ env.commitmessage }} ${{ github.event.commits[0].url }}" >> $GITHUB_ENV - - name: IRC notification - uses: Gottox/irc-message-action@v2 - with: - channel: '#cardinal' - nickname: github-event-bot - message: ${{ env.message }} diff --git a/.gitmodules b/.gitmodules index 7ea5657d..0079fe39 100644 --- a/.gitmodules +++ b/.gitmodules @@ -233,3 +233,7 @@ [submodule "plugins/EnigmaCurry"] path = plugins/EnigmaCurry url = https://github.com/EnigmaCurry/EnigmaCurry-vcv-pack.git +[submodule "plugins/NB"] + path = plugins/NB + url = https://github.com/dingodoppelt/NB.git + branch = release diff --git a/patches/examples/NB_-_Breathcontroller-RandomRotator.vcv b/patches/examples/NB_-_Breathcontroller-RandomRotator.vcv new file mode 100644 index 00000000..540c079c Binary files /dev/null and b/patches/examples/NB_-_Breathcontroller-RandomRotator.vcv differ diff --git a/patches/examples/NB_-_Breathcontroller_RandomRotator-Arp.vcv b/patches/examples/NB_-_Breathcontroller_RandomRotator-Arp.vcv new file mode 100644 index 00000000..4cc28fff Binary files /dev/null and b/patches/examples/NB_-_Breathcontroller_RandomRotator-Arp.vcv differ diff --git a/patches/examples/NB_-_PitchCV-HoldSax.vcv b/patches/examples/NB_-_PitchCV-HoldSax.vcv new file mode 100644 index 00000000..7818ea4f Binary files /dev/null and b/patches/examples/NB_-_PitchCV-HoldSax.vcv differ diff --git a/plugins/Makefile b/plugins/Makefile index b1ab7db2..3c669161 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -906,6 +906,11 @@ MSM_CUSTOM = ADSR BlankPanel Delay LFO LowFrequencyOscillator Mult Noise OP VCA PLUGIN_FILES += $(filter-out myth-modules/src/plugin.cpp,$(wildcard myth-modules/src/*.cpp)) +# -------------------------------------------------------------- +# NB + +PLUGIN_FILES += $(filter-out NB/src/plugin.cpp,$(wildcard NB/src/*.cpp)) + # -------------------------------------------------------------- # Nonlinear Circuits @@ -2517,6 +2522,13 @@ $(BUILD_DIR)/myth-modules/%.cpp.o: myth-modules/%.cpp $(foreach m,$(MYTH_MODULES_CUSTOM),$(call custom_module_names,$(m),myth_modules)) \ -DpluginInstance=pluginInstance__myth_modules +$(BUILD_DIR)/NB/%.cpp.o: NB/%.cpp + -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" + @echo "Compiling $<" + $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \ + $(foreach m,$(NB_CUSTOM),$(call custom_module_names,$(m),NB)) \ + -DpluginInstance=pluginInstance__NB + $(BUILD_DIR)/nonlinearcircuits/%.cpp.o: nonlinearcircuits/%.cpp -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" @echo "Compiling $<" diff --git a/plugins/NB b/plugins/NB new file mode 160000 index 00000000..f1ec6187 --- /dev/null +++ b/plugins/NB @@ -0,0 +1 @@ +Subproject commit f1ec61879916f3fe55dd3b22d9d833fb5184acb2 diff --git a/plugins/plugins.cpp b/plugins/plugins.cpp index 962d34ec..40a1c8fb 100644 --- a/plugins/plugins.cpp +++ b/plugins/plugins.cpp @@ -678,6 +678,9 @@ extern Model* modelBlankPanel; // myth-modules #include "myth-modules/src/plugin.hpp" +// NB +#include "NB/src/plugin.hpp" + // Nonlinear Circuits #include "nonlinearcircuits/src/NLC.hpp" @@ -850,6 +853,7 @@ Plugin* pluginInstance__Mog; extern Plugin* pluginInstance__mscHack; Plugin* pluginInstance__MSM; Plugin* pluginInstance__myth_modules; +Plugin* pluginInstance__NB; Plugin* pluginInstance__nonlinearcircuits; Plugin* pluginInstance__Orbits; Plugin* pluginInstance__ParableInstruments; @@ -2588,6 +2592,21 @@ static void initStatic__myth_modules() } } +static void initStatic__NB() +{ + Plugin* const p = new Plugin; + pluginInstance__NB = p; + + const StaticPluginLoader spl(p, "NB"); + if (spl.ok()) + { + p->addModel(modelSoftclip); + p->addModel(modelMoggle); + p->addModel(modelPolyfotz); + p->addModel(modelVarTriSaw); + } +} + static void initStatic__nonlinearcircuits() { Plugin* const p = new Plugin; @@ -3130,6 +3149,7 @@ void initStaticPlugins() initStatic__mscHack(); initStatic__MSM(); initStatic__myth_modules(); + initStatic__NB(); initStatic__nonlinearcircuits(); initStatic__Orbits(); initStatic__ParableInstruments();