primary color and shadows
This commit is contained in:
@ -177,7 +177,7 @@ WebViewPluginAudioProcessorEditor::WebViewPluginAudioProcessorEditor(WebViewPlug
|
||||
webComponent->goToURL(localDevServerAddress);
|
||||
//webComponent.goToURL (WebBrowserComponent::getResourceProviderRoot());
|
||||
|
||||
setSize(800, 500);
|
||||
setSize(800, 390);
|
||||
|
||||
startTimerHz(60);
|
||||
}
|
||||
|
||||
@ -80,9 +80,19 @@ public:
|
||||
|
||||
DynamicObject::Ptr d(new DynamicObject());
|
||||
d->setProperty("notes", notes);
|
||||
d->setProperty("input_pitch", processorRef.shifter.getInputPitch());
|
||||
d->setProperty("output_pitch", processorRef.shifter.getOutputPitch());
|
||||
webComponent->emitEventIfBrowserIsVisible("midNoteData", d.get());
|
||||
|
||||
d->clear();
|
||||
if (processorRef.shifter.GetAutoTuneEnable()) {
|
||||
d->setProperty("input_pitch", processorRef.shifter.getInputPitch());
|
||||
d->setProperty("output_pitch", processorRef.shifter.getOutputPitch());
|
||||
}
|
||||
else {
|
||||
d->setProperty("input_pitch", -1);
|
||||
d->setProperty("output_pitch", -1);
|
||||
}
|
||||
|
||||
webComponent->emitEventIfBrowserIsVisible("autoTuneData", d.get());
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
@ -159,6 +159,7 @@ public:
|
||||
float getOutputPitch() const { return sample_rate_ / out_period; }
|
||||
void SetHarmonyMix(float mix);
|
||||
void SetAutoTuneEnable(bool enable) { enable_autotune = enable; }
|
||||
bool GetAutoTuneEnable() { return enable_autotune; }
|
||||
void SetFreeze(bool);
|
||||
void SetFreezePitchAdjust(float val);
|
||||
void SetFreezeVolume(float val) { freeze_volume = val; }
|
||||
|
||||
Reference in New Issue
Block a user