blob: afbc59ad57f7618732565cb55ff0109812a587f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "control/controlpotmeter.h"
#include "preferences/usersettings.h"
class ControlAudioTaperPot : public ControlPotmeter {
Q_OBJECT
public:
// The AudioTaperPot has a log scale, starting at -Infinity
// minDB is the Start value of the pure db scale it cranked to -Infinity by the linear part of the AudioTaperPot
// maxDB is the Upper gain Value
// neutralParameter is a knob position between 0 and 1 where the gain is 1 (0dB)
ControlAudioTaperPot(const ConfigKey& key, double minDB, double maxDB, double neutralParameter);
};
|