X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmidi-item.cc;h=d85161676cc3943e42a669b56d88ba2e187c80c4;hb=d757a1b2b65c5f880af67702f1eaf5fda681724e;hp=f98e3d05e1ec0049a022fd3400b31d9a252948eb;hpb=a42a4f9c507f42456b3ac361788397881b86b1a0;p=lilypond.git diff --git a/lily/midi-item.cc b/lily/midi-item.cc index f98e3d05e1..d85161676c 100644 --- a/lily/midi-item.cc +++ b/lily/midi-item.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2012 Jan Nieuwenhuizen + Copyright (C) 1997--2015 Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -86,7 +86,7 @@ Midi_instrument::to_string () const SCM proc = ly_lily_module_constant ("midi-program"); SCM program = scm_call_1 (proc, ly_symbol2scm (audio_->str_.c_str ())); - found = (program != SCM_BOOL_F); + found = (scm_is_true (program)); if (found) program_byte = (Byte) scm_to_int (program); else @@ -393,6 +393,7 @@ Midi_control_function_value_change::to_string () const { 8, 40 }, // balance { 10, 42 }, // pan position + { 11, 43 }, // expression { 91, -1 }, // reverb level (only coarse resolution available) { 93, -1 } // chorus level (only coarse resolution available) };