0
我一直在研究一個項目,我必須獲得我在PlotlyJS中繪製的最大值,我需要獲取.wav文件的頻率並打印與該頻率相關的音符。 http://samcarcagno.altervista.org/blog/basic-sound-processing-julia/ 我一直在關注這篇文章,但這隻給你頻率的光譜圖。爲了獲得基頻,我改變了y的值。如何獲取JULIA中的一個地塊的最大值?
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)'不好嗎? –
討論劇情的最大值沒有意義。您需要的是您放入圖中的數據的最大值。 –