Пример #1
0
const String AudioProcessor::getParameterName (int index)
{
    if (AudioProcessorParameter* p = getParamChecked (index))
        return p->getName (512);

    return String();
}
Пример #2
0
float AudioProcessor::getParameter (int index)
{
    if (AudioProcessorParameter* p = getParamChecked (index))
        return p->getValue();

    return 0;
}
Пример #3
0
void AudioProcessor::setParameterNotifyingHost (const int parameterIndex,
                                                const float newValue)
{
    setParameter (parameterIndex, newValue);
    sendParamChangeMessageToListeners (parameterIndex, newValue);
	getParamChecked(parameterIndex)->setNeedsUIUpdate(false);
}
Пример #4
0
void AudioProcessor::setParameter (int index, float newValue)
{
	if (AudioProcessorParameter* p = getParamChecked(index))
	{
		p->setValue(newValue);
		p->setNeedsUIUpdate(true);
	}
}
Пример #5
0
void AudioProcessor::setParameter (int index, float newValue)
{
    if (AudioProcessorParameter* p = getParamChecked (index))
        p->setValue (newValue);
}
Пример #6
0
void AudioProcessor::setParameter (int index, float newValue)
{
	//DBG("In AudioProcessor::setParameter() with input value: " + String(newValue));
    if (AudioProcessorParameter* p = getParamChecked (index))
        p->setValue (newValue);
}