Can getID3 get the data of the mp3 file that is being input for FFT?

I want to compare two pieces of music to find similarities. But I don't really understand what Fast Fourier Transform is. I don't even know the parameter of the FFT function (from https://gist.github.com/mbijon/1332348 ).

My questions:

  • What are the parameters of the FFT function?
  • Does getID3 function provide these parameters?
  • If not, how can I get these parameters?

Here is my code.

<?php
    require_once('assets/getID3/getid3/getid3.php');
    require_once('FFT.php');
    $getID3 = new getID3;
    $ThisFileInfo = $getID3->analyze("music.mp3");
    $bit_rate = $ThisFileInfo['audio']['bitrate'];
    var_dump($bit_rate);
?>

      

+3
php fft getid3


source to share


No one has answered this question yet

Check out similar questions:

104
Analyzing audio using Fast Fourier Transform
15
How to filter FFT data (for audio visualization)?
6
How to plot a wav file using FFT?
4
Extracting data from a FOTK AudioKit graph
2
writing APIC to mp3 file using getid3 (id3v2)
1
2D FFT using python results in slightly shifted frequency
0
getID3 get length of mp3 was not expected T_ECHO
0
Extracting data from bfsk signal using fft
0
FFT audio recording Android
-1
Audio equalizer using FFmpeg or OpenAL



All Articles
Loading...
X
Show
Funny
Dev
Pics