summaryrefslogtreecommitdiff
path: root/src/mdaPiano.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mdaPiano.cpp')
-rw-r--r--src/mdaPiano.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp
index 6e3d8e7..837626c 100644
--- a/src/mdaPiano.cpp
+++ b/src/mdaPiano.cpp
@@ -32,7 +32,7 @@ mdaPiano::mdaPiano(double rate)
, "4c.raw", "4e.raw", "4a.raw"
};
- for (unsigned char i=0; i<15; ++i) {
+ for (unsigned char i=0; i<NSAMPLES; ++i) {
load_sample(&samples[i], sample_names[i]);
}