Ejemplo n.º 1
0
const String AudioProcessor::getParameterName (int index)
{
    if (AudioProcessorParameter* p = getParamChecked (index))
        return p->getName (512);

    return String();
}
Ejemplo n.º 2
0
float AudioProcessor::getParameter (int index)
{
    if (AudioProcessorParameter* p = getParamChecked (index))
        return p->getValue();

    return 0;
}
Ejemplo n.º 3
0
void AudioProcessor::setParameterNotifyingHost (const int parameterIndex,
                                                const float newValue)
{
    setParameter (parameterIndex, newValue);
    sendParamChangeMessageToListeners (parameterIndex, newValue);
	getParamChecked(parameterIndex)->setNeedsUIUpdate(false);
}
Ejemplo n.º 4
0
void AudioProcessor::setParameter (int index, float newValue)
{
	if (AudioProcessorParameter* p = getParamChecked(index))
	{
		p->setValue(newValue);
		p->setNeedsUIUpdate(true);
	}
}
Ejemplo n.º 5
0
void AudioProcessor::setParameter (int index, float newValue)
{
    if (AudioProcessorParameter* p = getParamChecked (index))
        p->setValue (newValue);
}
Ejemplo n.º 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);
}