mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
support a grid of beats/64 and beats/128
git-svn-id: svn://localhost/ardour2/branches/3.0@11490 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
058715c525
commit
ed62609e80
6 changed files with 68 additions and 2 deletions
|
|
@ -1221,6 +1221,14 @@ Editor::compute_bbt_ruler_scale (framepos_t lower, framepos_t upper)
|
|||
bbt_beat_subdivision = 32;
|
||||
bbt_accent_modulo = 8;
|
||||
break;
|
||||
case SnapToBeatDiv64:
|
||||
bbt_beat_subdivision = 64;
|
||||
bbt_accent_modulo = 8;
|
||||
break;
|
||||
case SnapToBeatDiv128:
|
||||
bbt_beat_subdivision = 128;
|
||||
bbt_accent_modulo = 8;
|
||||
break;
|
||||
default:
|
||||
bbt_beat_subdivision = 4;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue