denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] more of "Immediate Playback"


From: Bric
Subject: Re: [Denemo-devel] more of "Immediate Playback"
Date: Sun, 25 Nov 2012 07:58:00 -0500 (EST)


On November 25, 2012 at 4:19 AM Richard Shann <address@hidden> wrote:
> On Sat, 2012-11-24 at 16:44 -0500, Bric wrote:
> >
> > On November 24, 2012 at 3:56 PM Richard Shann <address@hidden>
> > wrote:
> > > On Sat, 2012-11-24 at 10:42 -0500, Bric wrote:
> > > > Just missing a few conditionals ("if" statements), right?
> > > I think you were thinking of "if immediate_playback ..."
> > > yes, that should be there I guess. The preferences are available in
> > > scheme (d-GetBooleanPref "immediateplayback") gets the relevant
> > > preference, so
> > >
> > > (if (d-GetBooleanPref "immediateplayback")
> > >    (d-Play-whatever it was))
> > >
> > > will do the trick.
> >
> >
> > Thank you.  Though I still have no idea which file to put it into.
>
> You don't have to, you can do it all with Denemo. Right click a command
> choose Get Script, and make the scheme window visible (check the last
> option or use the View->Scheme checkbox). There is the script for
> editing.
> When you have finished editing it, right click again on the menu item
> you edited and choose Save Script.
>
> (So: Get Script gets the script into the scheme window, and Save Script
> saves what is in the scheme window as a new version of the command. You
> can use Save as New Menu Item to create a new command using your edited
> version, then you will be asked to invent a new name for the command
> etc).
>
> This version then becomes your own customised version of that command.
> It is stored in .denemo-xxx/actions/menus/... in an xml file, and should
> be loaded in preference to the system installed one. (I say should,
> because I am not sure this stuff has been tested since
> internationalization which has introduced another layer ... please
> report any difficulties).

Thanks.  I went down that road yesterday, poking around and editing my
/usr/share/denemo/actions/menus/ObjectMenu/NotesRests/Transpose/ShiftRealHalfUp,
but didn't quite arrive there ("Get script" and other items there wouldn't yield
anything; the trick was "View->Scheme Script").

Now -- weird (interesting) results:

While in the Drum (Percussion) Staff/Clef, altering notes with
ShiftRealHalfUp/Down, and with your scheme snippet appended on the end, here is
what I get:

With a single note head, I get MIDI piano sounding.  No percussion.

However, with a CHORD, the bottom note of the chord is sounding MIDI piano,
while the top notes are rendered as percussion.

Moreover, and probably stemming from same "bug"(?):

When I view the scheme script in the View->Scheme Script window, and click on
the "Execute Script" button -- the note DOES change, but no sound is played for
a single-notehead note.  For a chord-note, however, I hear percussion (and NO
piano).

I will check the scripts that I tried to modify yesterday and remove any
instance of your snippet I may have placed somewhere, while poking around.

But the different behavior in monophonic versus polyphonic notes is unlikely the
result of *MY* editing.

While doing the same in Treble or Bass Clef Staff, there's more unique
weirdness:  monophonic notes are sounding like piano, but polyphonic notes sound
are rendered with the polyphony but with some cutoff/break point where the pitch
skips/increments exceptionally. (Maybe the same phenomenon exists in the
Percussion Clef, but it's harder to notice, given that I don't know by ear
exactly which percussion timbres are consecutive)



reply via email to

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