Borland C ++ Builder显示波形 [英] Borland c++ builder display waveform

查看:90
本文介绍了Borland C ++ Builder显示波形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用BCB显示pcm波形.
就像"Gold Wave"和"CoolEdit"一样.
我尝试使用Tchart和其他一些vcl组件,但它们将数据存储在内存中.
因此,当显示较大的媒体文件时,系统将耗尽内存.
我不知道怎么做才能更好.
还是可以使用图像画布?

请给些帮助.谢谢.

How can I display the pcm wavform by using BCB.
Just like "Gold Wave" and "CoolEdit".
I have tried to use Tchart and some other vcl components but they store data in memory.
So when displaying large media file, the system will run out of memory.
I don''n know how to do it in a better way.
Or can I use the image canvas?

Please give some help. Thanks.

推荐答案

显示波形文件时,通常需要进行一些预处理以滤除可见区域之外的点,并组合区域内的点.

同样,合并点的方法通常会根据缩放系数而变化.

Cakewalk Sonar之类的软件会创建一个文件,其中包含用于显示该图像的信息以及在显示的持续时间/采样率高于阈值时使用该图像的信息.
For displaying wave files, you will typically need to do some preprocessing to filter out point outside of the visible regions and also to combine points inside the region.

Also the way to combine points will typically vary according to the zoom factor.

Software like Cakewalk Sonar create a file with the information for displaying that image and with use that image when the displayed duration/sampling rate is above a threshold.


这篇关于Borland C ++ Builder显示波形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆