Click here to Skip to main content
15,907,225 members

Comments by KotsanisNakos (Top 4 by date)

KotsanisNakos 4-Dec-17 14:47pm View    
Hello, if i use a global PausablePlayer and then into the [[ public void actionPerformed(ActionEvent e)]] i call it under the first try like (( new PausablePlayer(fileInputStream); )) i have the following error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
KotsanisNakos 30-Nov-17 19:57pm View    
yes but the problem is that i have actually time values line 0.23411 , 1.45001 ...etc so int cant help here
KotsanisNakos 23-Nov-17 12:01pm View    
The idea of the way i want to do is something like that below:

|WAV FROM PATH| ->|| java -> samples->fft->freq per time span|| -> |FREQ TO TXT|
KotsanisNakos 23-Nov-17 11:52am View    
Yes you are right. The time span that i saw so far at the projects that i try to create(or modify) was different and not something stable.
At the example I'm sawing you that for each milesecond i read a frequency(actually are a lot of freq and the i find the avarage for that milesec [propably false]) from FFT and write it to a txt. My problem that i cant find a solution is that i want to read the samples, then FFT read the freq, then calcuate the freq in HZ and then write to a .txt