diff options
| author | Roland Reichwein <mail@reichwein.it> | 2025-01-05 23:26:47 +0100 | 
|---|---|---|
| committer | Roland Reichwein <mail@reichwein.it> | 2025-01-05 23:26:47 +0100 | 
| commit | 7c40af4b4950a69e67c26ebb3c5568cbfbc3dda9 (patch) | |
| tree | a55284878ab49911763ff2d1ca2f0c6ad238b06c | |
| parent | 03b28f03c38b35bcc1bbd1ec28a7be17affd3d28 (diff) | |
Improve UI
| -rw-r--r-- | PCM.cpp | 2 | ||||
| -rw-r--r-- | UI.cpp | 4 | 
2 files changed, 3 insertions, 3 deletions
| @@ -74,7 +74,7 @@ void PCM::click(std::chrono::duration<double> offset)    m_phase = - click_latency_frames + delay + offset_frames;    if (m_phase > 0) { -    log_cout << fmt::format("phase = {}", m_phase) << std::endl; +    log_cout << fmt::format("Warning: Click missed: Phase = {}", m_phase) << std::endl;    }  } @@ -166,15 +166,15 @@ void UI::draw()    std::cout << fmt::format("  MIDI Timestamp: {}", m_midi_timestamp) << std::endl;    std::cout << "  MIDI Active Sensing: " << fmt::format(value_color, "{}", active_sensing_names[active_sensing_detected]) << std::endl;    std::cout << fmt::format("  MIDI Events/s: {}", midi_events_per_second) << std::endl; -  std::cout << fmt::format("  MIDI Clock: {:3} BPM", m_clock_bpm) << std::endl;    std::cout << fmt::format("  MIDI Click: {:3} BPM", m_note_bpm) << std::endl; +  std::cout << fmt::format("  MIDI Clock: {:3} BPM", m_clock_bpm) << std::endl;    std::cout << fmt::format("  Internal:   {:3} BPM", internal_bpm) << std::endl;    std::cout << fmt::format("  Main loops/s: {}", main_loops_per_second) << std::endl;    std::cout << std::endl;    std::cout << "Log:" << std::endl; -  std::cout << log_cout.get_log() << std::endl; +  std::cout << log_cout.get_log();  }  void UI::handle_input() | 
