[Ardour-Users] many changes in 2.X SVN

Markus Schwarzenberg schwarzb at ipms.fraunhofer.de
Fri Oct 2 15:10:22 PDT 2009


> i spent a good part of today catching up on patches from the bug
> tracker and recent work done in the mixbus branch. these include:
>

> * visual state patch so that changing visual states with keys or menu
> always works

using the default key bindings always act like "save view" here - no
matter, how long the button is pressed. Yes, I removed my old
~/.ardour2/ardour.bindings before testing this. In a second try, i also
manually put the bindings like
(gtk_accel_path "<Actions>/Editor/save-visual-state-1" "<Ctrl>F1")
(gtk_accel_path "<Actions>/Editor/save-visual-state-2" "<Ctrl>F2")
(gtk_accel_path "<Actions>/Editor/goto-visual-state-1" "<release><Ctrl>F1")
(gtk_accel_path "<Actions>/Editor/goto-visual-state-2" "<release><Ctrl>F2")
into ardour.bindings - no change.

However, assigning  different shortcuts for save and goto now finally
works, so I'm happy. Although I don't like the system bell beep on save so
much.

BTW: Would it be hard to save the view settings in the session file?
This could be very useful.

Besides this, there is a small bug in the crossfade editor:
Dragging curve handles outside the [0..1] range results in
internal gain values <0 / >1.- although the handles visually
stay at the boundary. The following fix would help:


Index: gtk2_ardour/crossfade_edit.cc
===================================================================
--- gtk2_ardour/crossfade_edit.cc       (Revision 5716)
+++ gtk2_ardour/crossfade_edit.cc       (Arbeitskopie)
@@ -496,6 +496,19 @@
 void
 CrossfadeEditor::Point::move_to (double nx, double ny, double xfract,
double yfract)
 {
+       if ( xfract < 0.0 ) {
+               xfract = 0.0;
+       } else if ( xfract > 1.0 ) {
+               xfract = 1.0;
+       }
+
+       if ( yfract < 0.0 ) {
+               yfract = 0.0;
+       } else if ( yfract > 1.0 ) {
+               yfract = 1.0;
+       }
+
+
        const double half_size = rint(size/2.0);
        double x1 = nx - half_size;
        double x2 = nx + half_size;


--
Markus Schwarzenberg




More information about the Ardour-Users mailing list