On Sat, 2012-11-24 at 10:42 -0500, Bric wrote:
>
> On November 23, 2012 at 12:55 PM rshann <[email protected]> wrote:
> >
> > The commands in
> >
> > Notes/Rest -> Transpose Music -> Tonal step up/down
> >
> > are some contributed by Nils.
> >
> > You can get the note to sound in those by adding this line to the end
> > of the scripts (they are just one-liners)
> >
> > (d-PlayMidiNote (d-GetNoteAsMidi) 127 0 1000)
>
> Wow. You guys have been scripting up a storm (I'm looking in the "actions"
> subfolder). Great stuff. A newbie (like me) wouldn't know where to put the
> above line,
I just put it at the end of the script (which is only one line itself).
But I noticed that those commands apply to the selection if there is
one, in which case you would indeed need a conditional to check if there
was a selection and play that instead.
> however (add to existing script, start new script?). Although, the
> directive does seem to be a couple of lines away from being canonically added
> to
> denemo. Just missing a few conditionals ("if" statements), right?
>
> I'll keep trying to figure it out. Thanks.
If you are able to contribute improvements to this stuff that will be
great - it is not my area really, for me playback is just to check if
the notes are sound like I entered them aright - my thing is music
publishing. These scripts are in scheme which once you get used to the
infix notation is quite easy to read/tinker with. You have to look at
the console to see the error reports though and they are not brilliant.
Richard
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel