MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / createParameterLayout

Function createParameterLayout

NeuralNote/Source/ParameterHelpers.h:162–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162inline AudioProcessorValueTreeState::ParameterLayout createParameterLayout()
163{
164 std::vector<std::unique_ptr<RangedAudioParameter>> params;
165
166 for (size_t i = 0; i < TotalNumParams; i++) {
167 auto pid = static_cast<ParamIdEnum>(i);
168 params.push_back(getRangedAudioParamForID(pid));
169 }
170
171 return {params.begin(), params.end()};
172}
173
174/**
175 * Migration from version hint 1 to 2 (for version >= v1.1.0). Changed "sensibility" to "sensitivity".

Callers 1

Calls 1

getRangedAudioParamForIDFunction · 0.85

Tested by

no test coverage detected