File size: 895 Bytes
5e84ffc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""Console-based interval practice view.

This module provides a console interface for visualizing
and interacting with interval practice sessions.
"""

from improvisation_lab.presentation.console_view import ConsolePracticeView
from improvisation_lab.presentation.interval_practice.interval_view_text_manager import \
    IntervalViewTextManager  # noqa: E501


class ConsoleIntervalPracticeView(ConsolePracticeView):
    """Console-based implementation of interval visualization."""

    def __init__(self, text_manager: IntervalViewTextManager):
        """Initialize the console view with a text manager.

        Args:
            text_manager: Text manager for updating and displaying text.
        """
        super().__init__(text_manager)

    def launch(self):
        """Run the console interface."""
        print("Interval Practice: ")
        print("Sing each note for 1 second!")