简体   繁体   English

如何在iOS上以图形方式实现和显示Sound Amplitude?

[英]how to implement and show Sound Amplitude graphically on iOS?

The task is to show amplitude of the voice spoken into the Mic of the phone and show the amplitude like this: 任务是显示手机麦克风中的语音幅度,并显示如下幅度:

在此输入图像描述

Can someone please guide me how can i achieve this. 有人可以指导我如何实现这一目标。

Thanks everyone. 感谢大家。

is not so easy.. 不是那么容易..

you can check: 你可以查看:

  • for the "animated wave graph" you can check Apple example " aurioTouch " 对于“动画波形图”,您可以查看Apple示例“ aurioTouch
  • for handling audio you can check also " SpeakHere " 处理音频你也可以查看“ SpeakHere

Look into Core Graphics and drawRect. 查看Core Graphics和drawRect。

Helped you search: 帮助您搜索:

How do I draw a line on the iPhone? 如何在iPhone上画线?

我相信,这只能通过核心情节框架内完成..你可以看看这里布拉德拉尔森的答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM