is a multiplatform computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.
Questions tagged [java]
60 questions
9
votes
2 answers
How to analyze audio input/spectrum correctly
I am quite new to Java and Signal Processing, but I was assigned a project dealing in audio processing. My topic given to me is a game that has a component of analyzing a song (any given song) and outputs data depending on the frequency currently…
user3241507
- 91
- 1
- 1
- 2
5
votes
1 answer
Improving an auto-correlation based guitar pitch detector
I've seen many questions on this forum regarding pitch detection for musical instruments (commonly guitar), and spent a while reading through the answers to create a basic implementation of auto-correlation to make an Android guitar tuner.
This is…
Sevag
- 105
- 11
4
votes
3 answers
Detecting a single frequency in noisy data
I am not very experienced in signal processing, and it seems like this should be a simple problem. I have two computers, one plays a tone a 19 kHz at a sampling rate of 44.1 kHz, and the other listens with a sampling rate of 44.1 kHz and tries to…
Batman
- 51
- 4
4
votes
4 answers
Advice on autocorrelation via FFT
I have been creating an application in Java that transforms an audio signal and writes it to a midi file.
At first I tried using autocorrelation to find the fundamental frequency. However, I have been having difficulties implementing it. I resorted…
user1266174
- 41
- 2
3
votes
3 answers
How to Measure the Intensity / Saturation of a Color in an Image?
I have a task of developing an application to measure the intensity of a color in an image. I am researching about how to go about it.
Intensity refers to the purity of a hue. Intensity is also known as
Chroma or Saturation. The highest intensity…
Solace
- 211
- 2
- 4
3
votes
2 answers
Upsampling PCM audio: from 6 kHz to 8kHz
What would a straight-forward way to convert an audio payload (PCM 16bit) from 6 kHz to 8kHz? I understand that this is an interpolation problem.
I fear that a linear interpolation would introduce too much noise. If so, what would be a better…
gawi
- 133
- 5
3
votes
2 answers
Correlation Using FFT / IFFT (Convolution in Frequency Domain) in Java
I try to find about the delay between two audio files using Cross Correlation in Java. I've already done this algorithm so far that i get a idea about how many samples is the delay.
FFT x1 -> Zero Padding to length: x1.length() + x2.length()
FFT…
christopo
- 31
- 1
- 3
2
votes
1 answer
is root mean square possible to calculate similarity of FFT result?
I need to compare FFT result from audio files,
I have 2 FFT result from 2 audio files..
FFT 1 (sample)
-0.16314493488504767 - 0.103707391105263i
0.07863935536550609 - 0.30111206509352917i
0.06753127619272284 + 0.02837438103569126i
FFT 2…
raisa_
- 123
- 6
2
votes
1 answer
What do I measure in a Sound Sample Buffer to remove noise from an audio file using the Kalman Filter?
I am developing a computer program that removes or reduces the background noise from an audio file using the Simple Kalman Filter. I have implemented the Kalman Filter and a way of obtaining the "sample buffer" for the audio file.
I understand how…
Marvin
- 71
- 7
2
votes
3 answers
Performing DFT of streaming audio problem. Is there a limit?
I am trying to write software that will perform the discrete fourier transform of real time data coming from the microphone into the sound card on a computer. I am using Java with the javax.sound APIs.
I am capturing 250 ms of data each time. That…
Engineer999
- 139
- 1
2
votes
1 answer
How to set sampling frequency of an acceleration data set
I have a set of accelerometer readings in $X, Y, Z$ axes obtained from an android based smart-phone. The data in $(X, Y, Z)$ was recorded at different time stamps and there is no uniform time period for recording the data.
My data set looks as …
user26161
- 121
- 3
2
votes
1 answer
How to implement anisotropic diffusion using java?
I am working on an image processing project in java where we use anisotropic diffusion for scale space generation.
In the below equation, after finding the diffusion value.using the second equation, I do not know how to find the divergence of…
Anju Davis
- 35
- 1
- 7
2
votes
2 answers
Fixing my FFT Plot
I'm trying to plot my FFT of File. This i my result.
I made my FFT application:
I want to obtain something very similar to plot of WaveSpectra, please tell me my mistakes..
My FFT
The result from WaveSpectra
Other result from WaveSpectra
Here my…
joseluisbz
- 123
- 4
2
votes
3 answers
Hilbert-Huang Transform Implementation
I am looking for a implementation of Hilbert-Huang Transformation. Ideally, in Java, but any language with similar syntax would prove useful. Could someone point me to a specific implementation, preferably in Java?
Skylion
- 271
- 1
- 4
- 12
1
vote
2 answers
Matching 2 audio files
I'm doing research on how we can do matching between 2 audio files using Android to see if they have the same content or not. After doing lots of research, I have concluded that I must do 2 main things:
FFT
Correlation
Am I on the right track?
nada
- 11
- 1
- 2