denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Something weird with the playback region


From: Richard Shann
Subject: Re: [Denemo-devel] Something weird with the playback region
Date: Thu, 27 Apr 2017 08:18:37 +0100

On Wed, 2017-04-26 at 22:52 +0200, Johan Vromans wrote:
>  That's also quite feasible - after moving to the end you could use
> > (DenemoSetPlaybackEnd)
> > 
> > to place the end marker there, then (d-Play)
> > with, as before push and pop position to keep the cursor position
> > unchanged.
> 
> I'll give this a try... Stay tuned.

Actually, to reliably restore the cursor position after (d-Play) has
finished playing you need to do this

(d-PushPosition)
(d-Play "(d-PopPosition)")

as otherwise while playing Denemo may scroll the screen to follow the
music and thus disturb the cursor position *after* you have popped it
(that is the d-Play command does not block waiting for play to finish).
So d-Play can take a script as a parameter to be run after the Play is
finished.

Richard





reply via email to

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