Signed-off-by: ruiyangsun <sunruiyang5@h-partners.com>
This commit is contained in:
ruiyangsun
2025-07-05 16:20:30 +08:00
parent c900617438
commit d0c8c9d55d
4 changed files with 2 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@
Sonic is an algorithm for audio speed change, enabling basic audio processing such as changing speed without altering pitch, changing pitch without altering speed, and simultaneously changing speed and pitch. It is particularly optimized for speed changes of more than 2x. Sonic includes implementations in both C and Java, with main.c and main.java serving as simple usage examples for each.
## Directory Structure
![image](./architecture_diagram_en.png)
In the OpenHarmony system, sonic inheritance is implemented within the audio service. Through the service, applications can call relevant interfaces to achieve audio speed change playback, The related interfaces are setSpeed and getSpeed. For detailed instructions, please refer to the link: https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-audio-kit/js-apis-audio.md
+1
View File
@@ -5,6 +5,7 @@
Sonic是一个用于音频变速的算法,可以实现音频变速不变调、变调不变速、同时变速变调等基本音频处理,尤其对2倍以上的变速进行了优化。Sonic包含了C和Java两种实现,main.c和main.java分别为两者的简单使用示例。
## 架构说明
![image](./architecture_diagram_zh.png)
在OpenHarmony系统中,sonic继承在音频服务中,通过音频服务提供接口,应用可以调用相关接口实现音频变速播放。
相关接口为setSpeed与getSpeed, 详细说明参考链接: https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-audio-kit/js-apis-audio.md
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB