summaryrefslogtreecommitdiffstats
path: root/src/controlaudiotaperpot.h
blob: 80ebdb1fe8f35aa4c1c9918364da13e46c0aaa94 (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 "controlpotmeter.h"
#include "configobject.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