Skip to content

[Conductor] Coordinate MetronomeEngine scheduler with manual beats #19

Description

@hakaru

概要

Conductor Mode(リアルタイム指揮)の実装において、MetronomeEngine の既存の自動スケジューラと手動ビート(playBeatAt)が競合する懸念があります。

詳細

  • 指揮モード有効時は schedulerTask をサスペンドまたは停止する必要があります。
  • 手動で受信したビート(metronome.beat)に基づいて、内部の currentSubBeat を適切に更新し、UI(barProgress)との整合性を保つ必要があります。
  • playBeatAt は単発の AVAudioTime スケジューリングとして実装し、自動ループとは独立させるべきです。

期待される対応

  • MetronomeEngine にモード切替(Auto/Manual)を追加。
  • Manual モードでは自動ループを停止し、外部入力による拍のインクリメントをサポートする。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions