3 Star 7 Fork 0

华为移动服务/hms-audio-editor-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0
# Audio Editor Kit Sample English | [中文](README_ZH.md) ## Table of Contents * [Introduction](#introduction) * [Project directory structure](#project-directory-structure) * [Running Procedure](#running-procedure) * [Supported environment](#supported-environment) * [License](#license) ## Introduction HUAWEI Audio Editor Kit provides a wide range of audio editing capabilities, including audio import/expert/editing/extracting and format conversion. You can easily integrate them into your app as needed through the kit's open, excellent, yet easy-to-use APIs. This sample code is used to describe how to use the Audio Editor Kit SDK. - Imports audio files in batches, and generates and previews the audio wave for a single audio or multiple audios. - Supports basic audio editing operations such as changing the volume, adjusting the tempo or pitch, and copying and deleting audio. - Adds one or more special effects to audio, including the music style, sound field, equalizer, fade-in/out, voice changer, sound effect, scene effect, and spatial audio - Supports audio recording and importing. - Separates audio sources for an audio file. - Reduces the quasi-steady-state noises and sudden loud noises in audio collected from two microphones, and repairs and enhances the human voice to improve the audio quality. - Extracts audio from video files in formats like MP4. - Converts audio format to MP3, WAV, or FLAC. - Supports AI dubbing: converts text into voice of different timbres. - Supports song synthesis: Generates beautiful songs based on the input lyrics (only in China). ## Project directory structure ``` |-- apk |-- app |-- com.huawei.hms.audioeditor.demo |-- MainActivity // Audio Editor UI SDK entry, format conversion entry, and audio extraction entry. |-- AudioFormatActivity // Demo Format Conversion. |-- AudioFilePickerActivity // Select the audio file and list for the demo. |-- FileApiActivity // Interfaces of Demo Function Files. |-- StreamApiActivity // Streaming Interfaces of Demo Functions. |-- AudioBaseActivity // Integration of basic demo functions. |-- AiDubbingAudioActivity // AI dubbing integration. |-- SongSynthesisActivity // Song synthesis function integration. |-- base_audioeditor |-- com.huawei.hms.audioeditor.demo |-- AudioBaseActivity // Integration of basic demo functions. |-- aidubbing_audioeditor |-- com.huawei.hms.audioeditor.demo |-- AiDubbingAudioActivity // AI dubbing functions. ``` ## Running Procedure - Clone the code base to the local host. - If you haven't already registered as a developer, register and create an app on [AppGalleryConnect](https://developer.huawei.com/consumer/cn/service/josp/agc/index.html). - Replacing the sample-agconnect-services.json File in the Project - Compile and run on an Android device. ## Supported Environment Android SDK 24 or later and JDK 1.8 or later are recommended. ## Question or issues If you want to evaluate more about HMS Core, [r/HMSCore on Reddit](https://www.reddit.com/r/HuaweiDevelopers/) is for you to keep up with latest news about HMS Core, and to exchange insights with other developers. If you have questions about how to use HMS samples, try the following options: - [Stack Overflow](https://stackoverflow.com/questions/tagged/huawei-mobile-services?tab=Votes) is the best place for any programming questions. Be sure to tag your question with `huawei-mobile-services`. - [Huawei Developer Forum](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001) HMS Core Module is great for general questions, or seeking recommendations and opinions. If you run into a bug in our samples, please submit an [issue](https://github.com/HMS-Core/hms-audio-editor-demo/issues) to the Repository. Even better you can submit a [Pull Request](https://github.com/HMS-Core/hms-audio-editor-demo/pulls) with a fix. Note: The package name in this project cannot be used to apply for agconnect-services.json. You can use a customized package name to apply for agconnect-services.json. You only need to change applicationId in application-level build.gradle to the same package name as the applied agconnect-services.json to experience the Audio Editor Kit cloud-side service. ## License This sample code has obtained [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0).

简介

华为音频服务提供导入音频、编辑音频、导出音频、人声分离等一站式音频编辑能力,帮助开发者在App中轻松构建音频能力。通过此项目,你可以学会如何集成音频编辑SDK以及如何调用音频编辑API. 展开 收起
Java
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hms-core/hms-audio-editor-demo.git
git@gitee.com:hms-core/hms-audio-editor-demo.git
hms-core
hms-audio-editor-demo
hms-audio-editor-demo
master

搜索帮助