mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
-Fixed #82, metronome visibility issue
This commit is contained in:
parent
c37376ce76
commit
c698e631d4
1 changed files with 3 additions and 2 deletions
|
@ -264,6 +264,7 @@ void GMasterTrack::setTapTempo( bool b )
|
|||
|
||||
void GMasterTrack::setBarBeat(int b, int beat)
|
||||
{
|
||||
// FIXME: hard coded 4/4 time here
|
||||
if ( beat % 4 == 0 )
|
||||
{
|
||||
bar = bar % 4 + 1;
|
||||
|
@ -276,8 +277,8 @@ void GMasterTrack::setBarBeat(int b, int beat)
|
|||
beatLights[i]->value( 0 );
|
||||
|
||||
// beat starts at 4
|
||||
for( int i = 0; i < num; i++)
|
||||
beatLights[3-i]->value( 1 );
|
||||
// FIXME: hard coded 4/4 time
|
||||
beatLights[ 3 - beat%4 ]->value( 1 );
|
||||
}
|
||||
|
||||
Avtk::Volume* GMasterTrack::getInputVolume()
|
||||
|
|
Loading…
Add table
Reference in a new issue