summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-01-25 18:32:21 +0800
committerrekado <rekado@elephly.net>2013-01-25 18:32:21 +0800
commit86c221aba40dc1fe6d9150fc686cf8468a8eb5e6 (patch)
tree798f6b839e4d161950157d877adbe0d933fb2012
parent0d06eabed00f6085bf110080ce16f7ace765fb4b (diff)
change formatting to match mdaEPianoVoice.h
-rw-r--r--src/mdaPianoVoice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mdaPianoVoice.h b/src/mdaPianoVoice.h
index 3eb62e1..872dc5e 100644
--- a/src/mdaPianoVoice.h
+++ b/src/mdaPianoVoice.h
@@ -20,7 +20,6 @@ class mdaPianoVoice : public LV2::Voice {
KGRP *kgrp;
Sample *samples;
uint32_t sample_index;
- float default_preset[NPARAMS]; // contains the default preset
short sustain;
float comb[256];
float cdep, width, trim;
@@ -29,16 +28,16 @@ class mdaPianoVoice : public LV2::Voice {
uint32_t cpos, size, poly;
// voice state
- uint32_t delta; //sample playback
+ uint32_t delta; // sample playback
uint32_t frac;
uint32_t pos;
uint32_t end;
uint32_t loop;
- float env; //envelope
+ float env; // envelope
float dec;
- float f0; //first-order LPF
+ float f0; // first-order LPF
float f1;
float ff;
@@ -46,6 +45,7 @@ class mdaPianoVoice : public LV2::Voice {
float outr;
uint32_t note; //remember what note triggered this
// end of voice state
+ float default_preset[NPARAMS]; // contains the default preset
protected:
unsigned char m_key;