Giter Site home page Giter Site logo

jisoo134 / hms-audio-editor-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hms-core/hms-audio-editor-demo

0.0 0.0 0.0 65.86 MB

HUAWEI Audio Kit provides a wide range of audio editing capabilities, including auido import/export/editing/extracting and format conversion. This sample code describes how to integrate the Audio Editor Kit SDK.

Shell 0.92% Java 99.08%

hms-audio-editor-demo's Introduction

Audio Editor Kit Sample

English | 中文

Table of Contents

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.

Project directory structure

|-- apk
    |-- app
	    |-- com.huawei.audioeditor.demo.apk
		    |-- 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
	|-- base_edit_audio
	    |-- com.huawei.audioeditor.demo.apk
	        |-- AudioBaseActivity  // Integration of basic demo 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.

  • Replacing the sample-agconnect-services.json File in the Project

  • Compile and run on an Android device.

Supported Environment

Android SDK 21 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 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 is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum 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 to the Repository. Even better you can submit a Pull Request 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.

hms-audio-editor-demo's People

Contributors

mike-mei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.