13
0

LuaProc: remove ill-defined bar time variable

This commit is contained in:
Robin Gareus 2023-06-20 22:26:09 +02:00
parent fd749173cf
commit 877a2f3611
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -717,7 +717,6 @@ LuaProc::connect_and_run (BufferSet& bufs,
lua_time["tempo_end"] = metric_end.tempo ().quarter_notes_per_minute ();
lua_time["beat"] = DoubleableBeats (metric.tempo ().quarters_at_sample (start)).to_double ();
lua_time["beat_end"] = DoubleableBeats (metric_end.tempo ().quarters_at_sample (end)).to_double ();
lua_time["bar"] = (bbt.bars - 1) * 4;
lua_time["ts_numerator"] = metric.meter ().divisions_per_bar ();
lua_time["ts_denominator"] = metric.meter ().note_value ();