diff --git a/SigGen/swift/AppDelegate.swift b/SigGen/swift/AppDelegate.swift index 4f07643..070158e 100644 --- a/SigGen/swift/AppDelegate.swift +++ b/SigGen/swift/AppDelegate.swift @@ -402,7 +402,7 @@ class AppDelegate: NSObject, NSApplicationDelegate fineSlider.target = self fineSlider.action = #selector(sliderChange) fineSlider.toolTip = "Fine frequency" - fineSlider.doubleValue = 0.5 + fineSlider.doubleValue = kFineRef fineSlider.tag = kTagFine setVertical(fineSlider, true) diff --git a/SigGen/swift/SigGenView.swift b/SigGen/swift/SigGenView.swift index 6934ea8..d3a1909 100644 --- a/SigGen/swift/SigGenView.swift +++ b/SigGen/swift/SigGenView.swift @@ -83,11 +83,11 @@ class SigGenView: NSView knobView.value = round((knobView.value * 100.0) + 1) / 100.0 case kPriorKey: - levelSlider.doubleValue += 0.01 + levelSlider.doubleValue += 0.00625 levelSlider.sendAction(fineSlider.action, to: levelSlider.target) case kNextKey: - levelSlider.doubleValue -= 0.01 + levelSlider.doubleValue -= 0.00625 levelSlider.sendAction(fineSlider.action, to: levelSlider.target) default: