Questions tagged [pitch-tracking]

Pitch tracking is the process of finding the dominant frequency of an audio signal.

Pitch tracking is the process of finding the dominant frequency of an audio signal.

Applied to programming, Pitch tracking often involves the use of frequency-domain technics such as the but some time-domain technics exist as well.

wikipedia artcile about pitch tracking algorithms

68 questions
40
votes
5 answers

Guitar Chord Recognition Algorithm?

Whats a good digital signal processing algorithm that is good on guitar chords? Since Fast Fourier Transform I think only is accurate on single notes played on the guitar but not notes that are played simultaenously (i.e. chords). Thanks!
user488792
  • 1,813
  • 5
  • 29
  • 37
26
votes
7 answers

How do you analyse the fundamental frequency of a PCM or WAV sample?

I have a sample held in a buffer from DirectX. It's a sample of a note played and captured from an instrument. How do I analyse the frequency of the sample (like a guitar tuner does)? I believe FFTs are involved, but I have no pointers to HOWTOs.
WaveyDavey
26
votes
12 answers

Real time pitch detection

I'm trying to do real time pitch detection of a users singing, but I'm running into alot of problems. I've tried lots of methods, including FFT (FFT Problem (Returns random results)) and autocorrelation (Autocorrelation pitch detection returns…
Niall
  • 717
  • 3
  • 9
  • 17
23
votes
5 answers

Pitch recognition of musical notes on a smart phone

With limited resources such as slower CPUs, code size and RAM, how best to detect the pitch of a musical note, similar to what an electronic or software tuner would do? Should I use: Kiss FFT FFTW Discrete Wavelet Transform autocorrelation zero…
mahboudz
  • 38,588
  • 16
  • 95
  • 123
23
votes
5 answers

Real-time Pitch Shifting on the iPhone

I have a children's iPhone application that I am writing and I need to be able to shift the pitch of a sound sample using Core Audio. Does anyone have any example code I could look at where this is done. There are many music and game apps in the app…
Leachy Peachy
  • 1,092
  • 2
  • 16
  • 29
19
votes
10 answers

Detecting the fundamental frequency

There's this tech-festival in IIT-Bombay, India, where they're having an event called "Artbots" where we're supposed to design artbots with artistic abilities. I had an idea about a musical robot which takes a song as input, detects the notes in the…
ameya warty
19
votes
3 answers

How to convert a pitch track from a melody extraction algorithm to a humming like audio signal

As part of a fun-at-home-research-project, I am trying to find a way to reduce/convert a song to a humming like audio signal (the underlying melody that we humans perceive when we listen to a song). Before I proceed any further in describing my…
cdeepakroy
  • 1,913
  • 2
  • 16
  • 23
15
votes
2 answers

Librosa pitch tracking - STFT

I am using this algorithm to detect the pitch of this audio file. As you can hear, it is an E2 note played on a guitar with a bit of noise in the background. I generated this spectrogram using STFT: And I am using the algorithm linked above like…
pavlos163
  • 2,219
  • 3
  • 27
  • 70
11
votes
4 answers

Programmatically 'Listening' to Sound (Signal Processing?)

I'm familiar with Computer Vision (Well, know OF it), of which one application can be image recognition, such as Optical Character Recognition, I believe. However, something that I am more interested in is 'computer listening', which I have just…
Jorge Israel Peña
  • 32,778
  • 15
  • 83
  • 118
10
votes
9 answers

Software to convert audio to MIDI

Does any one know if there is good software to perform conversion from (wave or mp3 or other known format) to MIDI? I understand that conversion from audio file to MIDI is a very complex process. I'm currently developing a course project for my…
aumanets
  • 3,483
  • 8
  • 36
  • 59
10
votes
4 answers

FFT Inaccuracy for C#

Ive been experimenting with the FFT algorithm. I use NAudio along with a working code of the FFT algorithm from the internet. Based on my observations of the performance, the resulting pitch is inaccurate. What happens is that I have an MIDI…
user488792
  • 1,813
  • 5
  • 29
  • 37
10
votes
2 answers

Recorded audio of one note produces multiple onset times

I am using the Librosa library for pitch and onset detection. Specifically, I am using onset_detect and piptrack. This is my code: def detect_pitch(y, sr, onset_offset=5, fmin=75, fmax=1400): y = highpass_filter(y, sr) onset_frames =…
pavlos163
  • 2,219
  • 3
  • 27
  • 70
10
votes
2 answers

Comparing the "Tone" of musical instruments in MATLAB

I am trying to find a way to compare the likeness of short 500 millisecond recordings using MATLAB of the same note played on different instruments. Going into detail on this specific topic: I am a music student that has been given the task to…
Euphman
  • 115
  • 6
10
votes
4 answers

Pitch detection using neural networks

I am trying to use ANN for pitch detection of musical notes. The network is a simple two-layer MLP, whose inputs are basically a DFT (averaged and logarithmically distributed), and 12 outputs correspond to the 12 notes of a particular octave. The…
10
votes
5 answers

wav-to-midi conversion

I'm new to this field - but I need to perform a WAV-to-MIDI conversion in java. Is there a way to know what exactly are the steps involved in WAV-to-MIDI conversion? I have a very rough idea as in you need to; sample the wav file, filter it, use FFT…
Dolphin
  • 355
  • 2
  • 7
  • 16
1
2 3 4 5