[josm-dev] Audio user interface
David Earl
david at frankieandshadow.com
Fri Feb 29 10:57:46 GMT 2008
On 29/02/2008 10:02, Chris Morley wrote:
> Synchronization by dragging the play head could also involve moving into
> the regions before and after the audio and so it is necessary for the
> process to be an atomic one to avoid the error message. That is, you
> cannot easily use an additional action from a menu to do the
> synchronization; the SHIFT modifier method is better.
It doesn't work for the case when you do have waypoint markers.
I also do need a marker to store the information, unless I completely
re-engineer the way layers work - the audio information is stored in the
markers, not the layer. Yes I could do that re-engineering, but it would
be a much bigger job.
However, I thought about this yesterday, and what I can do fairly easily
within the framework that exists (plus the ability to move drag play
head) is to have shift-drag create a marker at the point you release and
apply the synchronization to it. This pretty much does what you're
suggesting.
So, with a suitable tweak to how markers are dealt with in the first
place, you'd end up with two markers - one at the start of the track and
one at the sync point (more if you have more than one sync point of
course), and the sync the way round you want it. I think I'd also change
the waypoint case so 'Apply Audio' works for both off the GPX layer.
I'll try doing that soon.
David
More information about the josm-dev
mailing list