tencent cloud

Tencent Real-Time Communication

お知らせ・リリースノート
製品アップデート情報
Tencent Cloudオーディオビデオ端末SDKの再生アップグレードおよび承認チェック追加に関するお知らせ
TRTCアプリケーションのサブスクリプションパッケージサービスのリリースに関する説明について
製品の説明
製品概要
基礎概念
製品の機能
製品の強み
ユースケース
性能データ
購入ガイド
Billing Overview
無料時間の説明
Monthly subscription
Pay-as-you-go
TRTC Overdue and Suspension Policy
課金に関するよくあるご質問
Refund Instructions
初心者ガイド
Demo体験
Call
コンポーネントの説明(TUICallKit)
Activate the Service
Run Demo
クイック導入
オフライン通知
Conversational Chat
クラウドレコーディング(TUICallKit)
AI Noise Reduction
インターフェースのカスタマイズ
Calls integration to Chat
Additional Features
No UI Integration
Server APIs
Client APIs
Solution
ErrorCode
公開ログ
よくある質問
ライブ配信
Billing of Video Live Component
Overview
Activating the Service (TUILiveKit)
Demo のクイックスタート
No UI Integration
UI Customization
Live Broadcast Monitoring
Video Live Streaming
Voice Chat Room
Advanced Features
Client APIs
Server APIs
Error Codes
Release Notes
FAQs
RTC Engine
Activate Service
SDKのダウンロード
APIコードサンプル
Usage Guidelines
クライアント側 API
高度な機能
RTC RESTFUL API
History
Introduction
API Category
Room Management APIs
Stream mixing and relay APIs
On-cloud recording APIs
Data Monitoring APIs
Pull stream Relay Related interface
Web Record APIs
AI Service APIs
Cloud Slicing APIs
Cloud Moderation APIs
Making API Requests
Call Quality Monitoring APIs
Usage Statistics APIs
Data Types
Appendix
Error Codes
コンソールガイド
アプリケーション管理
使用統計
監視ダッシュボード
開発支援
Solution
Real-Time Chorus
よくあるご質問
課金関連問題
機能関連
UserSig関連
ファイアウォールの制限の対応関連
インストールパッケージの圧縮に関するご質問
AndriodおよびiOS関連
Web端末関連
Flutter関連
Electron関連
TRTCCalling Web関連
オーディオビデオ品質関連
その他のご質問
旧バージョンのドキュメント
TUIRoom(Web)の統合
TUIRoom (Android)の統合
TUIRoom (iOS)の統合
TUIRoom (Flutter)の統合
TUIRoom (Electron)の統合
TUIRoom APIのクエリー
クラウドレコーディングと再生の実現(旧)
Protocols and Policies
セキュリティコンプライアンス認証
セキュリティホワイトペーパー
情報セキュリティの説明
Service Level Agreement
Apple Privacy Policy: PrivacyInfo.xcprivacy
TRTC ポリシー
プライバシーポリシー
データ処理とセキュリティ契約
用語集

AudioEffectStore

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-03-05 17:36:39

Introduction

AudioEffectStore provides a complete set of audio effect management APIs, including voice changer effects, reverb effects, and ear monitor functionality.
Through this class, anchors can adjust their voice effects in real-time during live streaming to enhance the experience.
Important:
Use the AudioEffectStore.shared singleton to get the AudioEffectStore instance. The set effects will automatically become invalid after leaving the room, and need to be set again for the next room entry.
Note:
Audio effect state updates are delivered through the audioEffectState publisher. Subscribe to it to receive real-time updates about voice changer, reverb, and ear monitor states.
Warning:
Due to the very high hardware latency of Bluetooth earphones, the ear monitor feature cannot be enabled when the anchor is wearing Bluetooth earphones. Please prompt the anchor to wear wired earphones in the user interface.

Features

Voice Changer Effects:Supports multiple voice changer effects such as child, little girl, uncle, etc.
Reverb Effects:Supports multiple reverb effects such as KTV, small room, auditorium, etc.
Ear Monitor:Anchors can hear their own voice in earphones, suitable for singing scenarios
Volume Control:Supports fine-grained ear monitor volume adjustment

Subscribable Data

AudioEffectState fields are described below:
Property
Type
Description
audioChangerType
StateFlow<AudioChangerType>
Voice changer state.
audioReverbType
StateFlow<AudioReverbType>
Reverb state.
isEarMonitorOpened
StateFlow<Boolean>
Ear monitor enabled.
earMonitorVolume
StateFlow<Int>
Ear monitor volume, range 0 - 100. If the volume is still too low after setting it to 100, you can set the volume to a maximum of 150, but a volume exceeding 100 may cause distortion, please operate with caution.

API List

Function
Description
Get singleton instance.
Set voice changer effect.
Set reverb effect.
Enable/disable ear monitor.
Set ear monitor volume.
Reset to default state.

Getting Instance

AudioEffectStore.shared

Get singleton instance

Voice Changer Settings

setAudioChangerType

Set voice changer effect
abstract fun setAudioChangerType(type: AudioChangerType)
Through this interface, you can set the voice changer effect for human voice. Voice changer effects can be applied to human voice, and the voice is processed secondarily through acoustic algorithms to obtain a timbre different from the original sound.
Version
Supported since version 3.5.
Notes
Note:
The set effect will automatically become invalid after leaving the room. If you need the corresponding effect for the next room entry, you need to call this interface again to set it.
Parameters
Parameter
Type
Required
Description
type
Required
Voice changer effect type.

Reverb Settings

setAudioReverbType

Set reverb effect
abstract fun setAudioReverbType(type: AudioReverbType)
Through this interface, you can set the reverb effect for human voice. Reverb effects can be applied to human voice, and the sound is processed through acoustic algorithms to simulate the presence in various different environments.
Version
Supported since version 3.5.
Notes
Note:
The set effect will automatically become invalid after leaving the room. If you need the corresponding effect for the next room entry, you need to call this interface again to set it.
Parameters
Parameter
Type
Required
Description
type
Required
Reverb effect type.

Ear Monitor Settings

setVoiceEarMonitorEnable

Enable/disable ear monitor
abstract fun setVoiceEarMonitorEnable(enable: Boolean)
After the anchor enables ear monitor, they can hear their own voice captured by the microphone in the earphones. This effect is suitable for anchor singing application scenarios.
Version
Supported since version 3.5.
Notes
Warning:
Due to the very high hardware latency of Bluetooth earphones, this effect cannot be enabled when the anchor is wearing Bluetooth earphones. Please try to prompt the anchor to wear wired earphones in the user interface.
Parameters
Parameter
Type
Required
Description
enable
Boolean
Required
Whether to enable ear monitor.

setVoiceEarMonitorVolume

Set ear monitor volume
abstract fun setVoiceEarMonitorVolume(volume: Int)
Through this interface, you can set the volume of the sound in the ear monitor effect.
Version
Supported since version 3.5.
Notes
Note:
If the volume is still too low after setting it to 100, you can set the volume to a maximum of 150, but a volume exceeding 100 may cause distortion, please operate with caution.
Parameters
Parameter
Type
Required
Description
volume
Int
Required
Ear monitor volume, range 0 - 100.

Reset

reset

Reset to default state
abstract fun reset()
Reset all audio effect settings to default values, including disabling voice changer effect, disabling reverb effect, disabling ear monitor, and resetting ear monitor volume.
Version
Supported since version 3.5.

Data Structures

AudioChangerType

Voice changer effect type
Enum Value
Value
Description
NONE
0
Disable effect.
CHILD
1
Child.
LITTLE_GIRL
2
Little girl.
MAN
3
Uncle.
HEAVY_METAL
4
Heavy metal.
COLD
5
Cold.
FOREIGNER
6
Foreign accent.
TRAPPED_BEAST
7
Trapped beast.
FATSO
8
Otaku.
STRONG_CURRENT
9
Strong current.
HEAVY_MACHINERY
10
Heavy machinery.
ETHEREAL
11
Ethereal.

AudioReverbType

Reverb effect type
Enum Value
Value
Description
NONE
0
Disable effect.
KTV
1
KTV.
SMALL_ROOM
2
Small room.
AUDITORIUM
3
Auditorium.
DEEP
4
Deep.
LOUD
5
Loud.
METALLIC
6
Metallic.
MAGNETIC
7
Magnetic.

AudioEffectState

Audio effect related state data provided by AudioEffectStore
Property
Type
Description
audioChangerType
StateFlow<AudioChangerType>
Voice changer state.
audioReverbType
StateFlow<AudioReverbType>
Reverb state.
isEarMonitorOpened
StateFlow<Boolean>
Ear monitor enabled.
earMonitorVolume
StateFlow<Int>
Ear monitor volume, range 0 - 100. If the volume is still too low after setting it to 100, you can set the volume to a maximum of 150, but a volume exceeding 100 may cause distortion, please operate with caution.

Usage Example

// Get singleton instance
val store = AudioEffectStore.shared()

// Subscribe to state changes
lifecycleScope.launch {
store.audioEffectState.audioChangerType.collect { type ->
println("Current voice changer: $type")
}
}

lifecycleScope.launch {
store.audioEffectState.audioReverbType.collect { type ->
println("Current reverb: $type")
}
}

// Set voice changer effect
store.setAudioChangerType(AudioChangerType.LITTLE_GIRL)

// Set reverb effect
store.setAudioReverbType(AudioReverbType.KTV)

// Enable ear monitor
store.setVoiceEarMonitorEnable(true)
store.setVoiceEarMonitorVolume(80)


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック