这是由pylab的specgram函数产生的频谱图的y轴? [英] What is on the y-axis of a spectrogram produced by pylab's specgram function?

查看:1435
本文介绍了这是由pylab的specgram函数产生的频谱图的y轴?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很新的音频处理。所以,请原谅我的无知。

I am very new to audio processing. So please pardon me for the ignorance.

根据维基百科,通常是x轴重新presents时间和y轴再presents频率,反之亦然。颜色强度再在特定的时间和频率present振幅(能量)。这很容易理解。

According to the wikipedia, usually x-axis represents time and y-axis represents the frequency or vice-versa. The color intensity represent the amplitude (energy) at a particular time and frequency. This is simple to understand.

我不能够跨preT由 specgram 从pylab API产生的频谱。

I am not able to interpret the spectrogram produced by specgram from the pylab API.

上图绘制,分别不同的窗口大小(128,512,1024)的specgrams。其清楚的是,X轴是频率。做什么0之间的值,以1.0 y轴再present?

The above figure plots the specgrams with different window sizes (128,512,1024) respectively. Its clear that the x-axis are the frequencies. What do the values between 0 to 1.0 on the y-axis represent?

我真的AP preciate如果有人可以提供一些线索到此。

I'd really appreciate if someone could shed some light into this.

推荐答案

从看着图像,波形图和频谱图你是不正确的,以presume即x轴是频率之间的相关性。

From looking at the image, and the correlation between the waveform plot and the spectrogram you are incorrect to presume that the x-axis is frequency.

x轴是时间。我猜想,它的样品进行测量。目前还不清楚为什么频谱已X标志的时域图的一半。

The x-axis is time. I would guess that it's measured in samples. It is unclear why the spectrogram has x labels half the time-domain plot.

上的彩色频谱曲线的y轴是<青霉>频率的,最有可能归从0到奈奎斯特(半取样率)。例如,假设一个8000Hz的采样速率,y轴[0.0,1.0] - > [0.0Hz时,4000HZ]

The y-axis on the coloured spectrogram plots is frequency, most probably normalised from 0 to Nyquist (half sampling rate). For example, assuming an 8000Hz sampling rate, the y-axis [0.0, 1.0] -> [0.0Hz, 4000Hz]

这篇关于这是由pylab的specgram函数产生的频谱图的y轴?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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