blob: 8ffc6b16440eabd9d95c4472a9292e83dfbcd4f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef CONTROLAUDIOTAPERPOT_H
#define CONTROLAUDIOTAPERPOT_H
#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(ConfigKey key, double minDB, double maxDB, double neutralParameter);
};
#endif // CONTROLAUDIOTAPERPOT_H
|