Initializes the UpsampleOverlap processor. Sets up the internal state required for tracking previous audio chunks and their resampled versions to handle overlaps during processing.
(self)
| 14 | the overlap correctly across calls. |
| 15 | """ |
| 16 | def __init__(self): |
| 17 | """ |
| 18 | Initializes the UpsampleOverlap processor. |
| 19 | |
| 20 | Sets up the internal state required for tracking previous audio chunks |
| 21 | and their resampled versions to handle overlaps during processing. |
| 22 | """ |
| 23 | self.previous_chunk: Optional[np.ndarray] = None |
| 24 | self.resampled_previous_chunk: Optional[np.ndarray] = None |
| 25 | |
| 26 | def get_base64_chunk(self, chunk: bytes) -> str: |
| 27 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected