On Sunday, November 28, 2010, Abrolag wrote:
> Went back to 10.4 and I get some really strange diamond points that I don't
> understand at all :(
I don't know what's happening for you in 10.10. It works here, and nobody has
worked on the rulers since 10.02, so nothing is likely to have changed. There
has been some incidental work that could have possibly caused some effect, I
This is a good reminder that I should check and see if anybody ever wrote
documentation for the new rulers. As you've noted, they're quite different
from the rulers that existed in "Classic" Rosegarden.
> What is happening here. I really liked the old method where you could
> generate a relatively smooth controller increase/decrease over a wide
There is no right click menu, and the old "insert line of controllers"
function is gone. What we have now works just like drawing a line with the
pencil tool in the GIMP. Click once to set your start point, then shift+click
on your end point to draw a line between those two points.
You will see wildly varying lines, depending on the granularity of the
controller in use, and how far apart your points are on the scale. The way
this works is that the code automatically generates every valid step in
between the two values, and then spaces out that number of steps evenly
divided across the span of time to be covered by the line. Every intermediate
value is different from its neighbors, and there is no arbitrarily fixed
spacing of points out on the time line.
Depending on where your points are, and the granularity of the controller, you
can create immensely dense lines packed with points spaced out at 256th-note
resolution, or you can create thin, scraggly looking lines with a few points
spaced out over a very wide distance. It's different for every situation, and
the algorithm is designed to maximize smoothness while eliminating the waste
of redundant intermediate values.
For example, if you draw a long pan line from 60 to 65, you will only see
intermediate points at 61, 62, 63 and 64, and they will be spaced very widely.
Classic Rosegarden used to draw a smoother looking line in this situation, but
most of the data points were redundant and unnecessary. On the other side,
Classic used to draw pitch bends at very coarse resolution, with the steps
spaced out comparatively far in time, and it made very fine-grained pitch
shifts difficult to achieve.
The new tool is completely different, but it's much more efficient, and it
gives you much more control over the effect you achieve, once you master it.
As far as the rulers not being finished yet, the main thing that nobody
finished sorting out was selection behavior, and the ability to cut/copy/paste
controllers. In its present state, it more or less works well enough to allow
you to accomplish specific objectives most of the time, but it's not well-
behaved or consistent. Ultimately, the rulers aim to share a selection with
the owning view, and keep in sync, but presently it's very buggy and ill-
mannered. I left it in the best state I could get it in myself, and ran out
of patience for that, so if it's going to get polished up into something that
works nicely, somebody needs to bring a cloth and some Brasso and get after
> Also, can some way be found to be able to open arbitrary rulers? With the
> new work on Yoshimi a lot of effects, parameters are being exposed by
> controller numbers and many would benefit from smooth control.
If you use "Add Control Ruler" you can create any arbitrary ruler based on the
controllers that are available in the owning device. I'm not sure which
device the view considers to be the owning device, and this implementation
probably has bugs.
Really about all I can tell you here is that you should make sure all of the
controllers you require are available to you in your studio, and then you
should see if you can create rulers for all of those controllers. If not,
you'll have to work with us through a debugging process to see if we can get
this to work properly. I have no earthly idea whether to expect it to work in
its present state or not. The code was pretty much just a blind shot in the
dark, since I have nothing to test it with.
D. Michael McIntyre