def test_is_silent_true(self):
        """
        Test that the is_silent method returns True for silent audio frames.
        """
        pipeline = VoicePipeline(silence_threshold=0.1)
        # Create a silent audio frame (very low amplitude)
        silent_audio_data_np = np.random.uniform(-0.01, 0.01, size=480).astype(
            np.float32
        )  # 30ms at 16kHz
        silent_audio_data_bytes = (
            (silent_audio_data_np * 32768.0).astype(np.int16).tobytes()
        )

        assert pipeline._is_silent(silent_audio_data_np) is np.True_
        assert pipeline._is_silent(silent_audio_data_bytes) is np.True_

        Test that the is_silent method returns True for silent audio frames.
        
mlx_audio/sts/tests/test_voice_pipeline.py