图片框空白 [英] Picture Box blanks off

查看:95
本文介绍了图片框空白的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在尝试减少系统播放的.wav文件输出中的噪音.根据Jeff Morton的文章(带有频谱图的声控录音机,我可以得到频谱图和频域显示,但是显示频域内容的图片框经常空白,不安全的代码会导致这种现象吗?
谁能帮我?
GeoNav

Hi,
I am trying to reduce the noise in a .wav file output while it is played by the system. Based on the Article by Jeff Morton ( Sound Activated Recorder with Spectrogram, I am able to get the spectrogram and Frequency Domain display. However, the picture box which displays the frequency domain content blank off frequently. Can unsafe code cause such a behavior?
Can anyone help me?
GeoNav

推荐答案

我昨天告诉您,如果您认为不安全的代码会导致这种情况,那么您几乎不了解C#,应该阅读一些书籍或学习一些课程.你为什么又问同样的问题?聪明的人会考虑发布一些代码,以便我们可以看到发生了什么,而不是问他们已经有了答案的问题.您还需要定义空白".很明显,您的代码是造成这种情况的原因,但它是闪烁的,还是长期处于空白状态.如果它闪烁,那只是缺乏缓冲.如果为空,请找出您的代码为什么这样做.
I told you yesterday, if you think unsafe code can cause this, you know next to nothing about C#, and should read some books or do a course. Why are you asking the same question again ? An intelligent person would consider posting some code so we can see what is going on, instead of asking a question they have the answer to already. You also need to define ''blank off''. It''s obvious your code is causing this, but is it flickering, or is it going blank for long periods. If it''s flickering, that''s just a lack of buffering. If it goes blank, then work out why your code does that.


这篇关于图片框空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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