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

 
 

bug #30430: Move cursor octave up

Submitted by:  None
Submitted on:  Tue 13 Jul 2010 04:49:07 PM UTC  
 
Category: Feature requestSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by steele (Updated the item)
  • -unavailable- added by rshann (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Dec 2010 12:18:59 PM UTCsteeleOpen/ClosedOpen=>Closed
    Mon 26 Jul 2010 07:01:06 PM UTCrshannStatusNone=>Fixed
    Tue 13 Jul 2010 04:49:07 PM UTCNoneAttached File-=>Added init.scm, #20955
      Attached File-=>Added JumpDownOctave, #20956
      Attached File-=>Added JumpUpOctave, #20957

    Back to the top


    Powered by Savane 3.1-cleanup1