#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"
#include "audio_effect/audio_eff_default_parm.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
