How to detect key using pitch of audio ios app -


is there body can me in finding pitch of audio file. have code in pitch calculating via mic, want detect pitch signal , strength?

for need use avaudioplayer . give peakpowers pitch of audio . these peakpowers signal strength , can animation that.

 audioplayer.meteringenabled = yes;     [audioplayer updatemeters]; if([audioplayer ismeteringenabled] ){     (int currchannel = 0; currchannel < [audioplayer numberofchannels]; currchannel++) {         //strength of audio channel         nslog(@"channel# %d %0.2f %0.2f", currchannel, [audioplayer peakpowerforchannel:currchannel], [audioplayer averagepowerforchannel:currchannel]);     } } 

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -