Class OutputStage

    • Method Detail

      • audio

        public SpeedStage audio​(bg.codexio.ai.openai.api.payload.voice.AudioFormat format)
        Sets AudioFormat
        Returns:
        SpeedStage to configure the produced speed
      • mp3

        public SpeedStage mp3()
        Sets AudioFormat as AudioFormat.MP3
        Returns:
        SpeedStage to configure the produced speed
      • forStreaming

        public SpeedStage forStreaming()
        Sets AudioFormat optimized for streaming, as AudioFormat.OPUS
        Returns:
        SpeedStage to configure the produced speed
      • forLowerRates

        public SpeedStage forLowerRates()
        Sets AudioFormat optimized for lower rates, as AudioFormat.AAC
        Returns:
        SpeedStage to configure the produced speed
      • noCompression

        public SpeedStage noCompression()
        Sets AudioFormat with no compression, as AudioFormat.FLAC
        Returns:
        SpeedStage to configure the produced speed