Skip to content

Commit

Permalink
Prep to move APVTS over to Parameters target object
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanjhood committed Mar 17, 2024
1 parent 4f887b5 commit 2f9061f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 8 additions & 3 deletions include/StoneyDSP/Biquads/Wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@
******************************************************************************/

#ifndef STONEYDSP_BIQUADS_WRAPPER_HPP_INCLUDED
#pragma once
#define STONEYDSP_BIQUADS_WRAPPER_HPP_INCLUDED

// #include <juce_audio_processors/juce_audio_processors.h>
// #include <juce_core/juce_core.h>
// #include <juce_audio_basics/juce_audio_basics.h>
// #include <stoneydsp_core/stoneydsp_core.h>
// #include <stoneydsp_audio/stoneydsp_audio.h>
// #include <juce_dsp/juce_dsp.h>

namespace StoneyDSP {
/** @addtogroup StoneyDSP @{ */

Expand Down Expand Up @@ -181,5 +188,3 @@ class AudioPluginAudioProcessorWrapper

/// @} group StoneyDSP
} // namespace StoneyDSP

#endif // STONEYDSP_BIQUADS_WRAPPER_HPP_INCLUDED
4 changes: 2 additions & 2 deletions src/StoneyDSP/Biquads/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ AudioPluginAudioProcessorParameters::AudioPluginAudioProcessorParameters(AudioPl
{
}

void AudioPluginAudioProcessorParameters::setParameterLayout(juce::AudioProcessorValueTreeState::ParameterLayout& params)
void AudioPluginAudioProcessorParameters::setParameterLayout(juce::AudioProcessorValueTreeState::ParameterLayout& newParameterLayout)
{
const auto dBMax = juce::Decibels::gainToDecibels(16.0f);
const auto dBMin = juce::Decibels::gainToDecibels(0.0625f);
Expand Down Expand Up @@ -85,7 +85,7 @@ void AudioPluginAudioProcessorParameters::setParameterLayout(juce::AudioProcesso
.withLabel(decibels)
.withCategory(outParam);

params.add(
newParameterLayout.add(
//==============================================================================
std::make_unique<juce::AudioProcessorParameterGroup>("Biquads_ID", ProjectInfo::projectName, "seperatorBiquads",
//==============================================================================
Expand Down
2 changes: 2 additions & 0 deletions src/StoneyDSP/Biquads/Wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

#include "StoneyDSP/Biquads.hpp"

// #include "Wrapper.hpp"

namespace StoneyDSP {
/** @addtogroup StoneyDSP @{ */

Expand Down

0 comments on commit 2f9061f

Please sign in to comment.