stripped samplerate from constructors

This commit is contained in:
Christopher Herb
2023-07-08 07:25:13 +02:00
parent eaf72afdab
commit 8cd0a2a7df
6 changed files with 11 additions and 26 deletions

View File

@@ -8,15 +8,10 @@ namespace trnr {
class tx_voice {
public:
tx_voice(double samplerate)
tx_voice()
: algorithm { 0 }
, pitch_env_amt { 0.f }
, feedback_amt { 0.f }
, pitch_env(samplerate)
, feedback_osc(samplerate)
, op1(samplerate)
, op2(samplerate)
, op3(samplerate)
, bit_resolution(12.f)
{
}