Results 1 to 5 of 5
  1. #1
    AlexGraal is offline Señor Member
    Join Date
    Jan 2014
    Posts
    184
    Rep Power
    0

    Default Finding the frequency of a pitch

    Hey!

    I'm looking for a library to do FFT stuff, or anything similar. I need to be able to judge the pitch of a note (played on a string instrument).

    Any ideas?

    Thanks

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,651
    Rep Power
    5

    Default Re: Finding the frequency of a pitch

    Not sure if you want to do real time Fourier analysis or analysis of a captured waveform.
    Found this in the Java Software forum --> FerFT 9.4

    It was posted in 2007.

    Regards,
    Jim
    The Java™ Tutorial | SSCCE | Java Naming Conventions
    Poor planning our your part does not constitute an emergency on my part.

  3. #3
    AlexGraal is offline Señor Member
    Join Date
    Jan 2014
    Posts
    184
    Rep Power
    0

    Default Re: Finding the frequency of a pitch

    Real time is what I want to do...

    Unfortunately, it looks like the link on that post doesn't work.

    I need to be able to use this in my java project - an android app!
    Last edited by AlexGraal; 04-23-2014 at 11:50 PM.

  4. #4
    jashburn is offline Senior Member
    Join Date
    Feb 2014
    Posts
    219
    Rep Power
    1

    Default Re: Finding the frequency of a pitch

    Looks like FerFT is commercial. Found the "new" web site: FerFT: Spectral Analyzer. An Internet search using the search term "java real time Fourier analysis" might help, e.g., Reliable and fast FFT in Java - Stack Overflow and Android Java: Simple fft example using libgdx | Digiphd.

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,560
    Blog Entries
    7
    Rep Power
    21

    Default Re: Finding the frequency of a pitch

    Maybe you can get away with autocorrelation: http://en.wikipedia.org/wiki/Autocorrelation; FFts are expensive to implement, no matter how you do it; the minimum and maximum values of the autocorrrelation sequence are half the wavelength and wavelength respectively, unless the harmonics dominate the prime frequency (normaly for string instruments they don't; they show up as local minumum/maximum values).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Letter Frequency
    By laxbro in forum New To Java
    Replies: 2
    Last Post: 01-22-2013, 09:07 AM
  2. Sound Frequency
    By MemoNick in forum New To Java
    Replies: 10
    Last Post: 11-05-2011, 10:29 PM
  3. Sort Frequency
    By ScaryJello in forum New To Java
    Replies: 7
    Last Post: 03-26-2009, 12:47 AM
  4. Word Frequency
    By capu in forum Advanced Java
    Replies: 2
    Last Post: 10-09-2008, 02:03 PM
  5. Frequency Counter
    By justlearning in forum New To Java
    Replies: 0
    Last Post: 05-07-2008, 10:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •