Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

development/wip/stoneydsp_library #77

Merged
merged 22 commits into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
26fe46e
Added JUCE and StoneyDSP as git submodules
nathanjhood Mar 15, 2024
16629be
Moved all DSP into 'stoneydsp_audio' module
nathanjhood Mar 16, 2024
6128d92
Added additional bands - now a 4-band EQ which highlights more optimi…
nathanjhood Mar 16, 2024
047a37d
Made CMake project more backwards-compatible
nathanjhood Mar 16, 2024
38044b6
Seperated CMake project into smaller targets with linkage requirements
nathanjhood Mar 16, 2024
8270eb1
Added C++17 linkage requirement to targets
nathanjhood Mar 16, 2024
e9c4d16
Removed lots of unecessary pointers
nathanjhood Mar 17, 2024
53bf47d
Improved Projucer file
nathanjhood Mar 17, 2024
0d07153
Set default Biquads filer type to Peak mode
nathanjhood Mar 17, 2024
baa1ded
Ensured all linkage to JUCE is private to avoid copying during build
nathanjhood Mar 17, 2024
0aa4e01
Removed submodules - sticking to vcpkg for now
nathanjhood Mar 17, 2024
6a86077
Update ubuntu-latest.yaml - use repository env var for version number…
nathanjhood Mar 17, 2024
8137cd4
Update windows-latest.yaml
nathanjhood Mar 17, 2024
7bf8f02
Update windows-latest.yaml
nathanjhood Mar 17, 2024
607b363
Update macos-latest.yaml
nathanjhood Mar 17, 2024
e31f501
Update macos-arm-latest.yaml
nathanjhood Mar 17, 2024
ebd89ef
fixing merge
nathanjhood Mar 17, 2024
4f887b5
Added 'JuceLibraryCode'
nathanjhood Mar 17, 2024
2f9061f
Prep to move APVTS over to Parameters target object
nathanjhood Mar 17, 2024
d751511
Update macos-latest.yaml
nathanjhood Mar 17, 2024
33c762a
Update ubuntu-latest.yaml
nathanjhood Mar 17, 2024
b1925d9
Update windows-latest.yaml
nathanjhood Mar 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/macos-arm-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ env:
SCCACHE_GHA_ENABLED: "true"
SCCACHE_CACHE_MULTIARCH: 1 # for macos actions only!
HOMEBREW_NO_INSTALL_CLEANUP: 1
STONEYDSP_BIQUADS_CURRENT_VERSION: 1.2.1
STONEYDSP_CURRENT_JUCE_VERSION: 7.0.9
STONEYDSP_BIQUADS_CURRENT_VERSION: ${{ vars.STONEYDSP_BIQUADS_VERSION_CURRENT_MAJOR_MINOR_PATCH }}
STONEYDSP_CURRENT_JUCE_VERSION: ${{ vars.STONEYDSP_BIQUADS_JUCE_VERSION_CURRENT_MAJOR_MINOR_PATCH }}

jobs:
macos-arm:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ env:
SCCACHE_GHA_ENABLED: "true"
SCCACHE_CACHE_MULTIARCH: 1 # for macos actions only!
HOMEBREW_NO_INSTALL_CLEANUP: 1
STONEYDSP_BIQUADS_CURRENT_VERSION: 1.2.1
STONEYDSP_CURRENT_JUCE_VERSION: 7.0.9
STONEYDSP_BIQUADS_CURRENT_VERSION: ${{ vars.STONEYDSP_BIQUADS_VERSION_CURRENT_MAJOR_MINOR_PATCH }}
STONEYDSP_CURRENT_JUCE_VERSION: ${{ vars.STONEYDSP_BIQUADS_JUCE_VERSION_CURRENT_MAJOR_MINOR_PATCH }}

jobs:
macos:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ env:
CMAKE_BUILD_PARALLEL_LEVEL: 3 # Use up to 3 cpus to build juceaide, etc
VCPKG_MAX_CONCURRENCY: 3
SCCACHE_GHA_ENABLED: "true"
STONEYDSP_BIQUADS_CURRENT_VERSION: 1.2.1
STONEYDSP_CURRENT_JUCE_VERSION: 7.0.9
STONEYDSP_BIQUADS_CURRENT_VERSION: ${{ vars.STONEYDSP_BIQUADS_VERSION_CURRENT_MAJOR_MINOR_PATCH }}
STONEYDSP_CURRENT_JUCE_VERSION: ${{ vars.STONEYDSP_BIQUADS_JUCE_VERSION_CURRENT_MAJOR_MINOR_PATCH }}

jobs:
ubuntu:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ env:
VCPKG_MAX_CONCURRENCY: 3
SCCACHE_GHA_ENABLED: "true"
IPP_DIR: C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib\cmake\ipp
STONEYDSP_BIQUADS_CURRENT_VERSION: 1.2.1
STONEYDSP_CURRENT_JUCE_VERSION: 7.0.9
STONEYDSP_BIQUADS_CURRENT_VERSION: ${{ vars.STONEYDSP_BIQUADS_VERSION_CURRENT_MAJOR_MINOR_PATCH }}
STONEYDSP_CURRENT_JUCE_VERSION: ${{ vars.STONEYDSP_BIQUADS_JUCE_VERSION_CURRENT_MAJOR_MINOR_PATCH }}

jobs:
windows:
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules
!/.vscode/c_cpp_properties.json
!**/develop-logo-pluginval.png
install
Biquads-v1.2.1

# Windows Temp Cache Files
[Tt]humbs.db
Expand Down Expand Up @@ -65,8 +66,8 @@ contents.xcworkspacedata
.svn
enc_temp_folder/
**/Builds/
**/JuceLibraryCode/
!**/JuceLibraryCode/AppConfig.h
# **/JuceLibraryCode/
# !**/JuceLibraryCode/AppConfig.h
install/testresults.txt
**/bin
**/tmp
Expand Down
Empty file added .gitmodules
Empty file.
6 changes: 4 additions & 2 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
{
"name": "GCC 11.4.0 x86_64-linux-gnu",
"includePath": [
"${workspaceFolder}/include/**",
"${workspaceFolder}/modules/**",
"${workspaceFolder}/JuceLibraryCode/**",
"${workspaceFolder}/include/**",
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
Expand All @@ -18,8 +19,9 @@
{
"name": "Clang 14.0.0 x86_64-pc-linux-gnu",
"includePath": [
"${workspaceFolder}/include/**",
"${workspaceFolder}/modules/**",
"${workspaceFolder}/JuceLibraryCode/**",
"${workspaceFolder}/include/**",
],
"defines": [],
"compilerPath": "/usr/bin/clang",
Expand Down
21 changes: 20 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@
"cmakeDebugType": "external",
"pipeName": "/tmp/vcpkg_ext_portfile_dbg",
"preLaunchTask": "Debug vcpkg commands"
}
},
{
"name": "Reaper",
"request": "launch",
"type": "cppdbg",
"program": "/usr/local/bin/reaper",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"VCPKG_PREFER_SYSTEM_INSTALLED_BINARIES": true,
// "CMAKE_TOOLCHAIN_FILE": "${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_MAKE_PROGRAM": "make",
"CMAKE_CONFIGURATION_TYPES": "Debug;Release",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"STONEYDSP_BIQUADS_BUILD_TESTS": true
Expand Down Expand Up @@ -134,7 +136,7 @@
},

"C_Cpp.files.exclude": {
// "**/.bak": true,
"**/.bak": true,
"**/.bash_history": true,
"**/.bash_logout": true,
"**/.bash_profile": true,
Expand Down
150 changes: 131 additions & 19 deletions Biquads.jucer
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,145 @@

<JUCERPROJECT id="jER3fq" name="Biquads" projectType="audioplug" useAppConfig="1"
addUsingNamespaceToJuceHeader="0" displaySplashScreen="1" jucerFormatVersion="1"
companyName="StoneyDSP" cppLanguageStandard="latest" version="1.2.0"
pluginAUMainType="'aufx'" pluginVST3Category="Fx" pluginFormats="buildVST3"
companyEmail="[email protected]">
companyName="StoneyDSP" cppLanguageStandard="latest" version="1.2.2.156"
pluginAUMainType="'aufx'" pluginVST3Category="EQ,Fx" pluginFormats="buildAU,buildStandalone,buildVST3"
companyEmail="[email protected]" companyWebsite="https://stoneydsp.com"
pluginName="Biquads" pluginManufacturer="StoneyDSP" pluginManufacturerCode="Manu"
pluginCode="Jer3" bundleIdentifier="com.StoneyDSP.Biquads" pluginDesc="Simple two-pole equalizer with variable oversampling."
aaxIdentifier="com.StoneyDSP.Biquads" companyCopyright="Copyright (c) 2024 - Nathan J. Hood"
pluginAUExportPrefix="BiquadsAU" pluginAAXCategory="1" pluginVSTCategory="kPlugCategEffect">
<MAINGROUP id="butqEA" name="Biquads">
<FILE id="LU0c3d" name="Biquads.hpp" compile="0" resource="0" file="include/StoneyDSP/Biquads.hpp"/>
<FILE id="RZhLPs" name="Biquads.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads.cpp"/>
<FILE id="Asu37R" name="Biquads.mm" compile="1" resource="0" file="src/StoneyDSP/Biquads.mm"/>
<GROUP id="{B7BEB523-13AE-DC81-1072-78BF4CC3A396}" name="Biquads">
<!-- <GROUP id="{19BEE9C3-82E8-891C-7BCF-623477F38C0E}" name="Components">
<FILE id="NxF6lP" name="AutoComponent.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Components/AutoComponent.cpp"/>
<FILE id="oNSzMK" name="AutoComponent.h" compile="0" resource="0" file="include/StoneyDSP/Biquads/Components/AutoComponent.h"/>
</GROUP> -->
<!-- <GROUP id="{9CCA4E58-A6DF-778D-0E47-615CE5201735}" name="Modules">
<FILE id="CkmJBA" name="Coefficient.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Modules/Coefficient.cpp"/>
<FILE id="cfbQWO" name="Coefficient.h" compile="0" resource="0" file="include/StoneyDSP/Biquads/Modules/Coefficient.h"/>
<FILE id="unuiPg" name="SecondOrderBiquads.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Modules/SecondOrderBiquads.cpp"/>
<FILE id="fw6I4S" name="SecondOrderBiquads.h" compile="0" resource="0" file="include/StoneyDSP/Biquads/Modules/SecondOrderBiquads.h"/>
</GROUP> -->
<FILE id="VST2bi" name="Parameters.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Parameters.cpp"/>
<FILE id="wSuuDB" name="Parameters.hpp" compile="0" resource="0" file="include/StoneyDSP/Biquads/Parameters.hpp"/>
<FILE id="pvZewN" name="Wrapper.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Wrapper.cpp"/>
<FILE id="VST2bi" name="Parameters.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Parameters.cpp"/>
<FILE id="irQxwW" name="Wrapper.hpp" compile="0" resource="0" file="include/StoneyDSP/Biquads/Wrapper.hpp"/>
<FILE id="pvZewN" name="Wrapper.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Wrapper.cpp"/>
<FILE id="qN9OPw" name="Processor.hpp" compile="0" resource="0" file="include/StoneyDSP/Biquads/Processor.hpp"/>
<FILE id="vmXpNV" name="Processor.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Processor.cpp"/>
<FILE id="qN9OPw" name="Processor.hpp" compile="0" resource="0" file="include/StoneyDSP/Biquads/Processor.h"/>
<!-- <FILE id="TI9DHC" name="PluginEditor.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/PluginEditor.cpp"/>
<FILE id="fgFCra" name="PluginEditor.h" compile="0" resource="0" file="include/StoneyDSP/Biquads/PluginEditor.h"/> -->
<FILE id="fgFCra" name="Editor.hpp" compile="0" resource="0" file="include/StoneyDSP/Biquads/Editor.hpp"/>
<FILE id="TI9DHC" name="Editor.cpp" compile="1" resource="0" file="src/StoneyDSP/Biquads/Editor.cpp"/>
</GROUP>
</MAINGROUP>
<JUCEOPTIONS JUCE_STRICT_REFCOUNTEDPOINTER="1" JUCE_VST3_CAN_REPLACE_VST2="0"/>
<EXPORTFORMATS>
<LINUX_MAKE targetFolder="Builds/LinuxMakefile">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug"/>
<CONFIGURATION isDebug="0" name="Release"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_audio_basics" path=""/>
<MODULEPATH id="juce_audio_devices" path=""/>
<MODULEPATH id="juce_audio_formats" path=""/>
<MODULEPATH id="juce_audio_plugin_client" path=""/>
<MODULEPATH id="juce_audio_processors" path=""/>
<MODULEPATH id="juce_audio_utils" path=""/>
<MODULEPATH id="juce_core" path=""/>
<MODULEPATH id="juce_data_structures" path=""/>
<MODULEPATH id="juce_dsp" path=""/>
<MODULEPATH id="juce_events" path=""/>
<MODULEPATH id="juce_graphics" path=""/>
<MODULEPATH id="juce_gui_basics" path=""/>
<MODULEPATH id="juce_gui_extra" path=""/>
<MODULEPATH id="stoneydsp_audio" path=""/>
<MODULEPATH id="stoneydsp_core" path=""/>
</MODULEPATHS>
</LINUX_MAKE>
<XCODE_MAC targetFolder="Builds/MacOSX">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug"/>
<CONFIGURATION isDebug="0" name="Release"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_audio_basics" path=""/>
<MODULEPATH id="juce_audio_devices" path=""/>
<MODULEPATH id="juce_audio_formats" path=""/>
<MODULEPATH id="juce_audio_plugin_client" path=""/>
<MODULEPATH id="juce_audio_processors" path=""/>
<MODULEPATH id="juce_audio_utils" path=""/>
<MODULEPATH id="juce_core" path=""/>
<MODULEPATH id="juce_data_structures" path=""/>
<MODULEPATH id="juce_dsp" path=""/>
<MODULEPATH id="juce_events" path=""/>
<MODULEPATH id="juce_graphics" path=""/>
<MODULEPATH id="juce_gui_basics" path=""/>
<MODULEPATH id="juce_gui_extra" path=""/>
<MODULEPATH id="stoneydsp_audio" path=""/>
<MODULEPATH id="stoneydsp_core" path=""/>
</MODULEPATHS>
</XCODE_MAC>
<VS2022 targetFolder="Builds/VisualStudio2022">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug"/>
<CONFIGURATION isDebug="0" name="Release"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_audio_basics" path=""/>
<MODULEPATH id="juce_audio_devices" path=""/>
<MODULEPATH id="juce_audio_formats" path=""/>
<MODULEPATH id="juce_audio_plugin_client" path=""/>
<MODULEPATH id="juce_audio_processors" path=""/>
<MODULEPATH id="juce_audio_utils" path=""/>
<MODULEPATH id="juce_core" path=""/>
<MODULEPATH id="juce_data_structures" path=""/>
<MODULEPATH id="juce_dsp" path=""/>
<MODULEPATH id="juce_events" path=""/>
<MODULEPATH id="juce_graphics" path=""/>
<MODULEPATH id="juce_gui_basics" path=""/>
<MODULEPATH id="juce_gui_extra" path=""/>
<MODULEPATH id="stoneydsp_audio" path=""/>
<MODULEPATH id="stoneydsp_core" path=""/>
</MODULEPATHS>
</VS2022>
<VS2019 targetFolder="Builds/VisualStudio2019">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug"/>
<CONFIGURATION isDebug="0" name="Release"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_audio_basics" path=""/>
<MODULEPATH id="juce_audio_devices" path=""/>
<MODULEPATH id="juce_audio_formats" path=""/>
<MODULEPATH id="juce_audio_plugin_client" path=""/>
<MODULEPATH id="juce_audio_processors" path=""/>
<MODULEPATH id="juce_audio_utils" path=""/>
<MODULEPATH id="juce_core" path=""/>
<MODULEPATH id="juce_data_structures" path=""/>
<MODULEPATH id="juce_dsp" path=""/>
<MODULEPATH id="juce_events" path=""/>
<MODULEPATH id="juce_graphics" path=""/>
<MODULEPATH id="juce_gui_basics" path=""/>
<MODULEPATH id="juce_gui_extra" path=""/>
<MODULEPATH id="stoneydsp_audio" path=""/>
<MODULEPATH id="stoneydsp_core" path=""/>
</MODULEPATHS>
</VS2019>
<VS2017 targetFolder="Builds/VisualStudio2017">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug"/>
<CONFIGURATION isDebug="0" name="Release"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_audio_basics" path=""/>
<MODULEPATH id="juce_audio_devices" path=""/>
<MODULEPATH id="juce_audio_formats" path=""/>
<MODULEPATH id="juce_audio_plugin_client" path=""/>
<MODULEPATH id="juce_audio_processors" path=""/>
<MODULEPATH id="juce_audio_utils" path=""/>
<MODULEPATH id="juce_core" path=""/>
<MODULEPATH id="juce_data_structures" path=""/>
<MODULEPATH id="juce_dsp" path=""/>
<MODULEPATH id="juce_events" path=""/>
<MODULEPATH id="juce_graphics" path=""/>
<MODULEPATH id="juce_gui_basics" path=""/>
<MODULEPATH id="juce_gui_extra" path=""/>
<MODULEPATH id="stoneydsp_audio" path=""/>
<MODULEPATH id="stoneydsp_core" path=""/>
</MODULEPATHS>
</VS2017>
</EXPORTFORMATS>
<MODULES>
<MODULE id="juce_audio_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
Expand All @@ -45,7 +157,7 @@
<MODULE id="juce_graphics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="juce_gui_extra" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="stoneydsp_audio" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="stoneydsp_core" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="stoneydsp_audio" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
</MODULES>
</JUCERPROJECT>
Loading
Loading