| 1110 | } |
| 1111 | |
| 1112 | ChainSettings getChainSettings(juce::AudioProcessorValueTreeState& apvts) |
| 1113 | { |
| 1114 | ChainSettings settings; |
| 1115 | |
| 1116 | settings.lowCutFreq = apvts.getRawParameterValue(LOWCUT_FREQ_ID)->load(); |
| 1117 | settings.lowCutQuality = apvts.getRawParameterValue(LOWCUT_Q_ID)->load(); |
| 1118 | settings.lowCutGainInDecibels = apvts.getRawParameterValue(LOWCUT_GAIN_ID)->load(); |
| 1119 | settings.highCutFreq = apvts.getRawParameterValue(HIGHCUT_FREQ_ID)->load(); |
| 1120 | settings.highCutQuality = apvts.getRawParameterValue(HIGHCUT_Q_ID)->load(); |
| 1121 | settings.highCutGainInDecibels = apvts.getRawParameterValue(HIGHCUT_GAIN_ID)->load(); |
| 1122 | settings.peakFreq = apvts.getRawParameterValue(PEAK_FREQ_ID)->load(); |
| 1123 | settings.peakGainInDecibels = apvts.getRawParameterValue(PEAK_GAIN_ID)->load(); |
| 1124 | settings.peakQuality = apvts.getRawParameterValue(PEAK_Q_ID)->load(); |
| 1125 | settings.lowCutSlope = static_cast<Slope>(apvts.getRawParameterValue(LOWCUT_SLOPE_ID)->load()); |
| 1126 | settings.highCutSlope = static_cast<Slope>(apvts.getRawParameterValue(HIGHCUT_SLOPE_ID)->load()); |
| 1127 | |
| 1128 | settings.lowCutBypassed = apvts.getRawParameterValue(LOWCUT_BYPASSED_ID)->load(); // > 0.5f; |
| 1129 | settings.peakBypassed = apvts.getRawParameterValue(PEAK_BYPASSED_ID)->load(); // > 0.5f; |
| 1130 | settings.highCutBypassed = apvts.getRawParameterValue(HIGHCUT_BYPASSED_ID)->load(); // > 0.5f; |
| 1131 | |
| 1132 | return settings; |
| 1133 | } |
| 1134 | |
| 1135 | ChainSettings getChainSettings(juce::AudioProcessorValueTreeState& apvts, LfoManager& lfoManager) |
| 1136 | { |
no test coverage detected