diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mdaPiano.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp index a390106..1a8f160 100644 --- a/src/mdaPiano.cpp +++ b/src/mdaPiano.cpp @@ -24,8 +24,8 @@ static const char* sample_file = "samples.raw"; mdaPiano::mdaPiano(double rate) - : LV2::Synth<mdaPianoVoice, mdaPiano>(NPROGS, NPARAMS) -{ + : LV2::Synth<mdaPianoVoice, mdaPiano>(p_n_ports, p_midi) { + cmax = 0x7F; //just in case... load_samples(&waves); |