ZLHistogramAudioPlot

A hardware-accelerated audio visualization view using EZAudio, inspired by AudioCopy. ZLHistogramAudioPlot was originally developed for Murmur.

这是使用了EZAudio,一个硬件加速的audio可视化view,灵感来自于AudioCopy.ZLHistogramAudioPlot这个最开始是为了Murmur而开发的.

Preview - 预览

Buffer

CocoaPods

You can install ZLHistogramAudioPlot through CocoaPods adding the following to your Podfile:

你可以用CocoaPods来安装ZLHistogramAudioPlot

pod 'ZLHistogramAudioPlot'

Usage - 使用

Checkout the demo app for an example.

下载demo app来看源码吧:

Customizable attributes:

可以定制的属性:

/// The upper bound of the frequency range the audio plot will display. Default:
/// 10000Hz
@property (nonatomic) float maxFrequency;/// The lower bound of the frequency range the audio plot will display. Default:
/// 1200Hz
@property (nonatomic) float minFrequency; /// The number of bins in the audio plot. Default: 30 @property (nonatomic) NSUInteger numOfBins; /// The padding of each bin in percent width. Default: 0.1 @property (nonatomic) CGFloat padding; /// The gain applied to the height of each bin. Default: 10 @property (nonatomic) CGFloat gain; /// A float that specifies the vertical gravitational acceleration applied to /// each bin. Default: 10 pixel/sec^2 @property (nonatomic) float gravity; /// The color of all bins in the audio plot. @property (strong, nonatomic) UIColor *color; /// An array of color objects defining the color of each bin in the audio plot. /// If not set, the color attribute will be used instead. Currently only /// supported by plot type EZPlotTypeBuffer. @property (strong, nonatomic) NSArray *colors;

Dependencies - 依赖关系

  • ZLHistogramAudioPlot is a subclass of EZAudioPlot. It requires EZAudio. ZLHistogramAudioPlot继承自EZAudioPlot,它需要EZAudio框架支持
  • It also requires Accelerate framework for hardware acceleration. 他也需要Accelerate来支持硬件加速

Compatibilty - 兼容性

ZLHistogramAudioPlot uses the following interface provided by EZAudio to get audio data:

ZLHistogramAudioPlot是使用以下的接口来获取到EZAudio的audio数据的:

- (void)updateBuffer:(float *)buffer withBufferSize:(UInt32)bufferSize;

It can be easily modified to work with Audio Unit and Core Audio.

你也可以简单的修改到支持 Audio Unit 与 Core Audio

Requirements - 需要的环境

  • iOS 6 or higher. iOS 6 +
  • Automatic Reference Counting (ARC). ARC

License

ZLHistogramAudioPlot is available under the MIT license. See the LICENSE file for more info.

转载于:https://www.cnblogs.com/YouXianMing/p/4246756.html

[翻译] ZLHistogramAudioPlot相关推荐

  1. Mysql函数group_concat、find_in_set 多值分隔字符字段进行数据库字段值翻译

    Mysql函数group_concat.find_in_set进行数据库字段值翻译 场景 配方表:记录包含的原料 sources表示原料,字段值之间用逗号分隔 原料表:对应原料id和原料名称 现需要查 ...

  2. “Attention is All You Need 翻译

    <p><img src="output_0_0.png" alt="png"></p> "Attention is ...

  3. 基于PyTorch的Seq2Seq翻译模型详细注释介绍(一)

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/qysh123/article/deta ...

  4. 全文翻译(全文合集):TVM: An Automated End-to-End Optimizing Compiler for Deep Learning

    全文翻译(全文合集):TVM: An Automated End-to-End Optimizing Compiler for Deep Learning 摘要 人们越来越需要将机器学习应用到各种各样 ...

  5. 全文翻译(四) TVM An Automated End-to-End Optimizing Compiler

    全文翻译(四) TVM An Automated End-to-End Optimizing Compiler 6.3 嵌入式GPU评估 对于移动GPU实验,在配备ARM Mali-T860MP4 G ...

  6. 全文翻译(三) TVM An Automated End-to-End Optimizing Compiler

    全文翻译(三) TVM An Automated End-to-End Optimizing Compiler 5. 自动化优化 考虑到一组丰富的调度原语,剩下的问题是为DL模型的每一层,找到最佳的算 ...

  7. 全文翻译(二): TVM: An Automated End-to-End Optimizing Compiler for Deep Learning

    全文翻译(二): TVM: An Automated End-to-End Optimizing Compiler for Deep Learning 3.优化计算图 计算图是在DL框架中表示程序的常 ...

  8. 全文翻译(一):TVM: An Automated End-to-End Optimizing Compiler for Deep Learning

    全文翻译(一):TVM: An Automated End-to-End Optimizing Compiler for Deep Learning 摘要 人们越来越需要将机器学习应用到各种各样的硬件 ...

  9. YOLOv4全文阅读(全文中文翻译)

    YOLOv4全文阅读(全文中文翻译) YOLOv4: Optimal Speed and Accuracy of Object Detection 论文链接: https://arxiv.org/pd ...

最新文章

  1. Xenapp安装后手动更改XML Service端口,以便使用不同于 IIS 的端口
  2. wordpress搭建个人博客
  3. android 是否允许打印debug级别日志的开关_log日志功能及设置方法
  4. R语言forestmodel包使用教程
  5. RabbitMQ 四种Exchange
  6. Android---Activity 生命周期(三)Stopping Activity Restarting Activity
  7. 1003 Emergency (25 分)【Dijastra与DFS解法】
  8. 列表和字典循环遍历时的删除问题,集合
  9. 【matlab-7】Matlab与线性代数(三)
  10. 7月送书中奖名单,快看!
  11. Scala class
  12. TableView 截图
  13. python 对象引用,可变性,垃圾回收
  14. python下载安装-Python下载安装
  15. 时间序列的归一化方法
  16. SQL Server数据库的查询语句
  17. 截止到2022年9月底可用的与大屏可视化相关的网站和网页
  18. PS、PR素材资源网站
  19. linux系统硬盘坏道,Linux下两种修复硬盘坏道方法
  20. kindle3nbsp;注册地址,美国地址…

热门文章

  1. MyBatis:事务回滚
  2. iOS用workspace和cocoapods管理多个项目
  3. mysql中max_allowed_packet参数的配置方法(避免大数据写入或者更新失败)
  4. [大数据可视化]-saiku的源码包Bulid常见问题和jar包
  5. .net core学习
  6. Ace教你一步一步做Android新闻客户端(三) JSON数据解析
  7. htaccess文件,强大的功能
  8. jdbc各种数据库的连接说明
  9. Android 最新左右可见上下页的banner实现demo
  10. Android 集成支付宝支付,支付宝支付2.0