【发布时间】:2016-12-11 17:29:21
【问题描述】:
我一直在研究一个项目,我必须获得我在 PlotlyJS 中制作的情节的最大值,我需要获得 .wav 文件的频率并打印与该频率相关的音符。 http://samcarcagno.altervista.org/blog/basic-sound-processing-julia/ 我一直在关注这篇文章,但这只是给了你频率的频谱图。为了获得基频,我改变了 y 的值。
plot(scatter(;x=freqArray/1000, y=p),
Layout(xaxis_title="Frecuencia (kHz)",
xaxis_zeroline=false,
xaxis_showline=true,
xaxis_mirror=true,
yaxis_title="Intensidad (dB)",
yaxis_zeroline=false,
yaxis_showline=true,
yaxis_mirror=true))
That's the plot 请帮帮我,我不知道如何获取频率
【问题讨论】:
-
maximum(freqArray)不帮忙? -
谈论一个情节的最大值是没有意义的。您需要的是您放入图中的数据的最大值。