Mercurial > hg > svgui
comparison layer/FlexiNoteLayer.cpp @ 659:65b966394650 tonioni
some visualisation changes
author | matthiasm |
---|---|
date | Thu, 20 Jun 2013 11:07:57 +0100 |
parents | ac26de7b727a |
children | 8663a831838f |
comparison
equal
deleted
inserted
replaced
657:ac26de7b727a | 659:65b966394650 |
---|---|
1556 } | 1556 } |
1557 | 1557 |
1558 std::cerr << "min frequency:" << minf << ", max frequency: " << maxf << std::endl; | 1558 std::cerr << "min frequency:" << minf << ", max frequency: " << maxf << std::endl; |
1559 | 1559 |
1560 if (hasNotes) { | 1560 if (hasNotes) { |
1561 v->getLayer(1)->setDisplayExtents(minf*0.8,maxf*1.2); | 1561 v->getLayer(1)->setDisplayExtents(minf*0.66,maxf*1.5); |
1562 // MM: this is a hack because we rely on | 1562 // MM: this is a hack because we rely on |
1563 // * this layer being automatically aligned to layer 1 | 1563 // * this layer being automatically aligned to layer 1 |
1564 // * layer one is a log frequency layer. | 1564 // * layer one is a log frequency layer. |
1565 } | 1565 } |
1566 } | 1566 } |