KT24-1110_65E-HA-651B/cpu/br25/audio_effect/audio_voice_changer_demo.h
2024-11-10 18:44:17 +08:00

37 lines
1.1 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __VOICE_CHANGER_DEMO_H_
#define __VOICE_CHANGER_DEMO_H_
#include "system/includes.h"
#include "media/includes.h"
#include "media/audio_voice_changer.h"
#include "media/effects_adj.h"
//参数调节的趋势shiftv越小音高越高 formant_shift越小音色越明亮
typedef enum {
VOICE_CHANGER_NONE,//原声
VOICE_CHANGER_UNCLE,//大叔
VOICE_CHANGER_GODDESS,//女神
VOICE_CHANGER_BABY,//娃娃音
VOICE_CHANGER_MAGIC,//魔音女声
VOICE_CHANGER_MONSTER,//怪兽音
VOICE_CHANGER_DONALD_DUCK,//唐老鸭
VOICE_CHANGER_MINIONS,//小黄人
VOICE_CHANGER_ROBOT,//机器音
VOICE_CHANGER_WHISPER,//气音
VOICE_CHANGER_MELODY,//固定旋律音
VOICE_CHANGER_FEEDBACK,//调制音
VOICE_CHANGER_MAX,
} VOICE_CHANGER_MODE;
voice_changer_hdl *audio_voice_changer_open_demo(u32 voice_changer_name, u32 sample_rate);
void audio_voice_changer_close_demo(voice_changer_hdl *hdl);
void audio_voice_changer_update_demo(u32 voice_changer_name, VOICECHANGER_PARM *parm, u32 bypass);
void audio_voice_changer_mode_switch(u32 voice_changer_name, VOICE_CHANGER_MODE voice_changer_mode);
#endif