bugDenemo - Bugs: bug #30430, Move cursor octave up

 
 

bug #30430: Move cursor octave up

Submitter:  None
Submitted:  Tue 13 Jul 2010 04:49:07 PM UTC
   
 
Category:  Feature request
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Jul 2010 07:01:06 PM UTC, comment #1: 

I changed the name of d-GoUpOrDown because the d- prefix implies a command, the convention is to prefix with the command name and :: for variables local to a command. So I have used Cursor::UpN for this procedure, as it is common to the Cursor moves directory. Cursor::UpN goes down if N is negative of course.

Richard Shann <rshann>
Group administrator
Tue 13 Jul 2010 04:49:07 PM UTC, original submission:  

Hmmm, using the denemo 0.8.19 build for windows Nils sent me, I noticed that there appears to be no command to move the cursor an octave up without modifying the previous or current note.
I am very used to using that command and I wrote a script for it.

Make this the initialization script for the Navigation menu:

(define (d-GoUpOrDown n)
  (begin (if (> n 0) (begin (d-CursorUp) (d-GoUpOrDown (- n 1))))
    (if (< n 0) (begin (d-CursorDown) (d-GoUpOrDown (+ n 1))))))

Then add commands
JumpUpOctave
to scheme
(d-GoUpOrDown 7)

JumpDownOctave
(d-GoUpOrDown -7)

My own preference is to set this to Ctrl+Up or Down, and set the current denemo OctaveUp command to ', OctaveDown to ,

Files for .denemo are attached, include command descriptions etc.
The init.scm is for the Navigation menu.
-Dan W.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #20955:  init.scm added by None (158B - application/octet-stream)
file #20956:  JumpDownOctave added by None (386B - application/octet-stream)
file #20957:  JumpUpOctave added by None (383B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by steele (Updated the item)
  • -email is unavailable- added by rshann (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-04 steele Open/ClosedOpen Closed
    2010-07-26 rshann StatusNone Fixed
    2010-07-13 None Attached File- Added init.scm, #20955
        Attached File- Added JumpDownOctave, #20956
        Attached File- Added JumpUpOctave, #20957

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code