[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom keymap

From: aaron mehl
Subject: Re: custom keymap
Date: Mon, 31 Aug 2020 15:00:58 -0400

Hi again,
I am not sure what name for inserting a quarter note is. In the keymap it is called insertblankquarternote is that what I use in the scheme window? or something else?

Sent from Mailspring, the best free email app for work
On Aug 31 2020, at 10:54 am, aaron mehl <> wrote:

Sent from Mailspring, the best free email app for work
On Aug 31 2020, at 10:51 am, Richard Shann <> wrote:
On Mon, 2020-08-31 at 10:18 -0400, aaron mehl wrote:
> More questions on keybindings
> If I would like to make a shortcut to put denemo into a note entry
> mode where I have a set of  bindings only for note and chord entry
> for example.
> I set a keybinding n+n to move into that mode (how do I do this
> exactly, can I?)

You create a command that executes a Scheme script - an example of such
a command already in the Denemo menu system is

Command: Note Names Move Cursor
Changes the shortcuts for note names a, b, c, d, e, f, g so that they
move the cursor to the nearest note of that name.
Location: Main Menu ▶ _Input ▶ PC Keyboard
Internal Name: NoteNamesMove

By right-clicking on this command and choosing "Get Script into Scheme
Window" you can get that script and then modify it for your own
purposes and then (again by right-clicking on the original) you can
choose "Save Script as New Menu Item". The new command will appear in
the menu.
Then you would set a shortcut (e.g. n,n) for your new command and that
will get you into your new note entry mode. 
You would create another command to take yourself back out of it (with
shortcut n, Shift-n perhaps).
> then I would make keybindings for note entry only. Do I understand
> this correctly?
> Also if this is true how does this effect the default keymap.

Any clashing shortcuts would be replaced by your new ones when you
execute your mode switch command. It would be up to your switch back
command whether you restored them, but in any case when you re-start
Denemo you will be back with your default set (until you execute your
mode switch command).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]