[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Midi shortcuts
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Midi shortcuts |
Date: |
Sat, 07 May 2011 10:38:03 +0100 |
No, it's just me - Nils understood you and told me on irc #denemo
There are no commands yet to construct MIDI shortcuts (still less
built-in methods), so you have to write a bit of scheme to do it.
The hook for this is in denemo.scm and that was where I placed my bit of
scheme this morning.
This is the sort of thing you can see in denemo.scm
(define Pitchbend::commandUp "(d-CursorRight)")
If you redefined Pitchbend::commandUp to be some other string that would
be executed on the getting the Pitchbend up message from MIDI-in. Only a
few of these control messages have been named in denemo.scm so far.
This itself is a layer over the primitive response to MIDI in's control
messages.
The primitive level is that when a control message is received the
procedure MIDI-shortcut::controller is executed and if the value it
returns is the name of a denemo action this is action is performed.
(Well, I have just trawled through the code to find this out. It needed
writing down somewhere!)
HTH
Richard
On Sat, 2011-05-07 at 11:22 +0200, R. Mattes wrote:
> On Sat, 07 May 2011 10:19:58 +0100, Richard Shann wrote
> > On Sat, 2011-05-07 at 10:09 +0100, Richard Shann wrote:
> > > > how would I assign MIDI control messages to actions,
> >
> > or did you mean a MIDI control message from your MIDI-keyboard?
> > ie how to write a MIDI shortcut?
> > Richard
>
> Oh dear, I guess my original message was less than clear :-)
> Yes, I want to assign a message _from_ my keyboard to a shortcut.
>
> Thanks, RalfD
>
>
> --
> R. Mattes -
> Hochschule fuer Musik Freiburg
> address@hidden
>
- [Denemo-devel] Midi shortcuts, Ralf Mattes, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts, Richard Shann, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts, Richard Shann, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts, R. Mattes, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts,
Richard Shann <=
- Re: [Denemo-devel] Midi shortcuts, Ralf Mattes, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts, Ralf Mattes, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts, Richard Shann, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts, R. Mattes, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts, Richard Shann, 2011/05/07
- Re: [Denemo-devel] Midi shortcuts, R. Mattes, 2011/05/08
- Re: [Denemo-devel] Midi shortcuts, Ralf Mattes, 2011/05/08
- Re: [Denemo-devel] Midi shortcuts, Richard Shann, 2011/05/09
- Re: [Denemo-devel] Midi shortcuts, R. Mattes, 2011/05/09
- Re: [Denemo-devel] Midi shortcuts, Richard Shann, 2011/05/10