On Fri, 2017-02-24 at 12:19 +0100, Haris Brković wrote: > Hi everyone, > Im sending my simple pallete in xml copied from "palletes.xml" from usr, > denemo folder. > > <palette hidden="0" dock="1" limit="1" row-wise="1" _name="PC Midi > like"><button script="(d-MoveCursorLeft) (d-OctaveDown) (d-NextNote) " > _tooltip="Creates a button for the script" label="⬇"/><button script="(d-C) > (d-NextNote) " _tooltip="Creates a button for the script" label="C"/><button > script="(d-D) (d-NextNote) " _tooltip="Creates a button for the script" > label="D"/><button script="(d-E) (d-NextNote) " _tooltip="Creates a button > for the script" label="E"/><button script="(d-F) (d-NextNote) " > _tooltip="Creates a button for the script" label="F"/><button script="(d-G) > (d-NextNote) " _tooltip="Creates a button for the script" label="G"/><button > script="(d-A) (d-NextNote) " _tooltip="Creates a button for the script" > label="A"/><button script="(d-B) (d-NextNote) (d-C) (let loop () (if > (d-IsTied) (if (d-NextNote) (loop)) (d-NextNote))) " _tooltip="Creates a > button for the script" label="H"/><button script="(d-C) (d-NextNote) " > _tooltip="Creates a button for the script" label="C2"/><button > script="(d-MoveCursorLeft) (d-OctaveUp) (d-NextNote) " _tooltip="Creates a > button for the script" label="⬆"/><button script="(d-SharpenNote)" > _tooltip="Sharpen the note at the cursor or next entered note if the cursor > is in the appending position" label="♯"/><button script="(d-FlattenNote)" > _tooltip="Flatten the note at the cursor or next entered note if the cursor > is in the appending position" label="♭"/><button > script="(d-ReminderAccidental)" _tooltip="Prints the accidental in ()." > label="(♮)"/> > > I have ten simple buttons > ⬇ C D E F G A H(German system) C2 and ⬆ > Arrows has octave up and down functions. C2 is the same as C not octave up > but for me is convenient to have one more C in row. > First I input rhythms. Then like in midi input I press buttons with mouse. > One example. Four quarter notes I have to input pitch. First I press C > second G (that G by default is inputted down) Then I press arrow up. > Although after I press G, cursor goes to next note, "arrow up" will change G > octave up because that script first do (d-MoveCursorLeft) and after change > again go to next note. (I had to do d-PrevNote instead MoveCursor Left, but I > learned that after I read your posts) > The problem is when I repeatedly press arrow up and down (I think), cause > when I do it in some combination I didnt recreate, when I press some note it > doesnt appear correctly. Only when I erase that edited notes then they appear > correctly.
This will be the bug I just fixed with OctaveUp and down. So tomorrow it should work fine. Richard _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
