From e340bd10e45299bd8fb5d683c9b0e963aa2ef770 Mon Sep 17 00:00:00 2001 From: JP Cimalando Date: Mon, 23 Jul 2018 12:47:57 +0200 Subject: generate velocity offsets from wopl files --- src/adldata.cpp | 12 ++++++------ src/adldata.hh | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/adldata.cpp b/src/adldata.cpp index c007c81..6606e1f 100644 --- a/src/adldata.cpp +++ b/src/adldata.cpp @@ -9175,15 +9175,15 @@ const struct adlinsdata adlins[4815] = {4337,4338, 61, 1, 153, 93, 0, 0 }, {4339,4340, 38, 1, 340, 133, 0, 0 }, {4341,4342, 37, 1, 206, 93, 0, 0 }, - {4343,4344, 15, 1, 346, 153, 0, 0 }, + {4343,4344, 15, 1, 346, 153, 10, 0 }, {4345,4346,100, 1, 146, 0, 0, 0.140625 }, - {4347,4348, 19, 1, 553, 200, 0, 0 }, + {4347,4348, 19, 1, 553, 200, 10, 0 }, {4349,4349, 48, 0, 180, 86, 0, 0 }, - {4350,4351, 15, 1, 333, 153, 0, 0 }, - {4352,4353, 12, 1, 340, 146, 0, 0 }, - {4354,4355, 11, 1, 346, 146, 0, 0 }, + {4350,4351, 15, 1, 333, 153, 20, 0 }, + {4352,4353, 12, 1, 340, 146, 20, 0 }, + {4354,4355, 11, 1, 346, 146, 20, 0 }, {4356,4357, 61, 1, 2706, 1033, 0, 0.09375 }, - {4358,4355, 8, 1, 340, 146, 0, 0 }, + {4358,4355, 8, 1, 340, 146, 20, 0 }, {4359,4360, 91, 1, 1166, 366, 0, -0.046875 }, {4361,4361, 70, 0, 966, 346, 0, 0 }, {4362,4363, 80, 1, 300, 93, 0, 0.125 }, diff --git a/src/adldata.hh b/src/adldata.hh index bb0e883..38a1d9f 100644 --- a/src/adldata.hh +++ b/src/adldata.hh @@ -106,9 +106,9 @@ extern const AdlBankSetup adlbanksetup[]; * @brief Conversion of storage formats */ inline adlinsdata2::adlinsdata2(const adlinsdata &d) - : tone(d.tone), flags(d.flags), midi_velocity_offset(d.midi_velocity_offset), + : tone(d.tone), flags(d.flags), ms_sound_kon(d.ms_sound_kon), ms_sound_koff(d.ms_sound_koff), - voice2_fine_tune(d.voice2_fine_tune) + midi_velocity_offset(d.midi_velocity_offset), voice2_fine_tune(d.voice2_fine_tune) { #ifdef DISABLE_EMBEDDED_BANKS std::memset(adl, 0, sizeof(adldata) * 2); -- cgit v1.2.3