Questions tagged [pitch]

Pitch of an audio signal representing a musical note, measured in units of octave and relative to a pitch standard such as A440, is the base-2 logarithm of the frequency ratio of the fundamental frequency of the note to the frequency of the pitch standard.

Filter by
Sorted by
Tagged with
0
votes
1answer
339 views

Note segmentation from pitch values

My goal is to extract a melodic respresentation for monophonic signal like voice. I have used YIN algorithm to find the pitch of the signal. Now I want to detect notes from the pitch values (like ...
1
vote
0answers
990 views

Real-time FFT Pitch shifting in c# [closed]

I'm using Math.net and Bass.Net to write FX effects for guitars. I'm currently stuck on the the pitch shifter. I have to implement a custom DSP callback function which provides the guitar PCM data and ...
1
vote
1answer
702 views

Harmonic Product Spectrum algorithm. I dont understand one step

I was looking some Harmonic Product Spectrum algorithm examples and I came up with this: ...
1
vote
2answers
260 views

How can I start learning about pitch detection?

readers. I'm working on a project where my goal is to implement a pitch-detection algorithm (PDA) in a piece of open-source software. I have very little knowledge of pitch detection at the moment ...
0
votes
1answer
67 views

Algorithm to identify pitch-shifted recordings?

new to this whole DSP thing. Two related questions: Does there exist an algorithm or classifier that, when given two sound files, would be able to tell me if one is a pitch-shifted version of the ...
0
votes
1answer
194 views

Using NMF for guitar pitch detection using fixed pitch template

I've seen this guide showing a basic NMF of a spectrogram. My aim is detect guitar pitch from the decomposition. I want to do this by explicitly create a fixed template of pitches and construct the W ...
2
votes
1answer
2k views

Are there any signal processing libraries that implement TD-PSOLA?

For such a popular and old algorithm, I've had surprisingly little luck finding implementations. I've got it working in MATLAB, but am curious if any other languages have libraries containing it (...
0
votes
1answer
82 views

Calculation of the salience function (Klapuri 2006)

I am reading this paper here and I wanted to check my understanding regarding the salience function: $$ \hat{s}(\tau)=\sum_{m=1}^M g(\tau, m) \max_{k\in \kappa_{\tau, m}}\lvert Y(k)\rvert $$ Where ...
0
votes
2answers
223 views

What Is the Meaning of the Term "Frequency Response'' When We Design a Pitch Detector

This is from Klapuri 2003. What is the "frequency response" and why do we model is as multiplied with the vibrating system we want to get the frequency from?
0
votes
2answers
1k views

Pitch salience definition/references

What is the pitch salience? I see it a lot when looking for papers about multiple pitch detection but haven't found a proper definition of it.
0
votes
1answer
400 views

Half of fundamental frequency in Fourier transform

I understand why there are peaks in integer multiples of the fundamental in the Fourier transform. But why is there often a peak in half the fundamental? I am testing for the guitar specifically. I ...
0
votes
1answer
137 views

Implementing an offline guitar monophonic pitch detector

I am implementing an offline guitar monophonic pitch detector. I was wondering about the trade-off of the standard methods: Autocorrelation, HPS, Cepstrum, picking the peak from an STFT, the YIN ...
1
vote
1answer
2k views

How to extract prosodic cues from a wav file using Python

How do I extract the following features as from wav files in Python - Voicing rate (Voice rate) - frequency of phonemes while speaking, and represents the pace of a conversation Number of ...
0
votes
3answers
800 views

Guitar fundamental frequency vs pitch

When a note is played on the guitar, is the fundamental frequency always the strongest one or could a harmonic be the strongest one (in terms of amplitude). When could that happen? Also, when playing ...
3
votes
3answers
1k views

Guitar pitch detection with autocorrelation

This link provides code for an autocorrelation-based pitch detection algorithm but says: Cons: Not as accurate, doesn't work for inharmonic things like musical instruments, this implementation has ...
0
votes
2answers
314 views

Is the STFT a good solution to guitar monophonic pitch detection?

Let’s assume that the audio input will be: Guitar audio Monophonic audio Is the STFT overkill? Is it enough to produce a time-frequency plot and from there find the notes played at each instance? ...
0
votes
1answer
550 views

frequency translation or pitch shifting through linear interpolation in frequency domain

I want to perform pitch shifting with the method described in NEW PHASE-VOCODER TECHNIQUES FOR PITCH-SHIFTING, HARMONIZING AND OTHER EXOTIC EFFECTS. Basically, it involves: Locate the spectral peaks ...
0
votes
0answers
94 views

Another pitch detection problem

I'm a french student and I have to make a scientific project in group, so we decided to work on how automatically turn sheets music when a musician reaches the end of the page. For that I'm working on ...
0
votes
1answer
731 views

Guitar String frequency

I'm making a guitar tuner for iOS.Due to the fact I'm Beginner I'm struggling a bit to gather all the resources and information about it. I know the theory like ( correct me if I'm wrong ) :- First I ...
0
votes
1answer
922 views

Guitar pitch detection [duplicate]

I try to develop a guitar game in android platform. And I need to do the real-time pitch detection of guitar chord. I will get the input from the microphone, and then analyze the input (the input ...
0
votes
1answer
1k views

What's wrong with this Average Magnitude Difference algorithm?

I implemented this Average Magnitude Difference algorithm in Javascript ...
1
vote
1answer
94 views

Doubling the frequency of a sound fragment in real time?

I'm given given a stream of sound, as a serie of little buffers . Is it possible to make this stream sound one octave up ? Or an arbitrary number of semitones up ? My goal is to add it to the ...
0
votes
1answer
145 views

Matching guitar signal with tablature, near real-time algorithms?

I'm looking for candidate algorithms that might work for a use-case comparable to Rocksmith's analysis system. To compare a clean electric guitar signal with a tablature reference. A higher latency ...
0
votes
2answers
88 views

Why do musical instruments have different colour in phone?

When I hear a musical instrument in phone, the color of it sounds a bit different than its original 'live' sound. Why?
0
votes
1answer
444 views

Samples per second in a row vector in Matlab?

I wrote two functions in MATLAB, function called half that removes every other element from an arbitrary length vector, creating a shorter vector made of only the ...
2
votes
3answers
6k views

Calculating the fundamental frequency using Autocorrelation often gives half the expected value

I'm currently writing a mobile app which needs to analyse musical notes and find the fundamental frequency to determine the pitch. To do this I'm reading in audio data, taking an FFT, taking the auto-...
1
vote
1answer
2k views

Changing voice characteristics so it sounds like someone else voice

I have a recording of speech, and I want to manipulate the voice, so a listener will perceive the manipulated voice and the original one as belonging to two different people. The manipulated voice ...
-1
votes
1answer
2k views

how to extract pitch contour of a speech by matlab?

I am totally new in Matlab. Can anyone please explain in details how I can extract pitch contour of a speech? I would like to observe how the speaker's pitch varies during his speech to know whether ...
1
vote
2answers
816 views

Why is this FFT code not working to extract frequencies from a wav audio?

I'm quite new to audio processing and i'm trying to extract frequencies from a wav file. As research papers stated i put the wav audio into a byte array and segmented and trying to apply FFT to get ...
11
votes
2answers
3k views

How to deal with low fundamental when using AMDF for pitch extraction?

I am using the Average Magnitude Difference Function to estimate the fundamental frequency of a quasi-periodic audio signal. The AMDF is defined as $$ D_n = \frac{1}{N-n}\sum_{k=n}^{N-1}|S_k - S_{k-n}...
2
votes
0answers
363 views

Is Karplus-Strong synthesis a reliable way to test pitch detection algorithms?

I'm using Arduino DUE (Cortex-M3 based board). I want to make a guitar sound using DAC (digital to analog converter). For instance, the note A2's fundamental frequency is 110 Hz (using A4 440 Hz as ...
0
votes
1answer
1k views

Efficient real-time pitch detection algorithm

What is the most efficient pitch detection algorithms in terms of computation? I need something to implement on a DSP. The typical signal in my situation would be a mixture of low-level wide-band ...
1
vote
1answer
348 views

The way to measure chromatic tuners' precision

I have a question about measuring precision of chromatic tuners. I want to divide 2 cases. CASE1: link; Korg AW-2G's precision If you check the link or this picture, it says that Korg AW-2G has ...
0
votes
2answers
369 views

Convert one sound sample in different sample where each sample's pitch is a note (do-re-mi…)

For example, I would like to do like in this video: https://www.youtube.com/watch?v=YBhneZuAb5k We have for example a goat yelling sample and from this sample, we can change the pitch according to ...
1
vote
2answers
1k views

Getting a more accurate frequency read from autocorrelation and peak-detection algorithm

For a project I am attempting to create an automatic tuner for a guitar, which reads the audio from the guitar jack, determines the frequency and adjusts the string by a motor. Using http://www....
0
votes
3answers
125 views

Resonance and Pitch classes

Suppose we denote the frequency of the note $\textbf{C}_{0}$ by $f$ then we know that $f,2f,3f,...$ are all resonating frequencies. However the frequencies $2f,4f,...,2^{m}f$ belong to the same pitch ...
5
votes
1answer
2k views

The Bode frequency shifter

Anyone know if the Bode frequency shifter has been studied somewhere. I just used an audio plug-in called EchoBode from SonicCharge and this is claimed to use a frequency (pitch) shifting algorithm ...
4
votes
3answers
2k views

Are there libraries for extraction of sound wave features?

I am looking help for my project for which I need C++ (or any other language) libraries useful for extraction of sound wave features like frequency, loudness, pitch and orientation. Using these ...
4
votes
1answer
1k views

What is the difference between PSOLA and TDHS time-scaling or pitch-shifting?

What is the difference (if any) between PSOLA (Pitch Synchronous Overlap and Add) and TDHS (time domain harmonic scaling) time-pitch modification algorithms?
1
vote
1answer
1k views

How does PSOLA pitch-shift work in real-time?

How does the PSOLA pitch-shifting algorithm manage to remove or add audio frames in real-time without creating gaps? Wouldn't extending the "windows" (it's like in FFT windowing) to longer than the ...
8
votes
2answers
2k views

Fast pitch recognition

I need to detect pitch (measure signal frequency) while the musicians play music, giving a warning if they are out of tune, but music happens to be a bit too fast for FFT (Fast Fourier Transform). ...
1
vote
2answers
4k views

Pitch Detection / Harmonic Product Spectrum - What's wrong?

I've whipped together a small example that tries to use the Harmonic Product Spectrum Algorithm to extract the pitch of a simple sine wave. I'm not sure about my implementation and if i understood ...
0
votes
1answer
1k views

Real-time frequency recognition in python

I'm a newcomer to signal processing, so forgive my ignorance. I'm working on a project in Python that will play a .wav file and pick out the dominant frequency as it plays. I've found a few examples ...
0
votes
0answers
56 views

Detecting two changing inharmonic pitches

I have a recording of a newer type of siren that uses two pitches sliding back and forth in time. I want to be able to detect both of the pitches simultaneously or overlapping at short intervals. ...
0
votes
2answers
155 views

Authoritative DSP book/reference material on Psychoacoustics

I am an auto didactic Electrical Engineer currently pursuing a goal to design a custom application targeted at deeply embedded linux(think BBB or even Raspberrypi-2) type device. My DSP background is ...
0
votes
1answer
181 views

How can I detect known frequencies using most efficient algorithm

I have a set of ultrasonic frequency that I am playing and I want to detect these particular set of known frequencies. I have already used fft but it is quite processing intensive and I am facing ...
1
vote
3answers
1k views

How to add pitch-shifted version of signal to itself?

I want to write an algorithm to add pitch-shifted version of audio signal to itself (like Electro-Harmonix POG does). And I need to do it in realtime. How to implement it? My guess is: break signal ...
9
votes
1answer
4k views

What is an AMDF?

The wikipedia page for Average Magnitude Difference Function/Formula (AMDF) appears to be empty. What is an AMDF? What are AMDF's properties? What are AMDF's strengths and weaknesses, as compared ...
1
vote
1answer
177 views

LPC produces unexpected residual

I have written a vocal pitch shifting algorithm which uses LPC to separate the signal into its spectral envelope (predicted by the coefficients) and the pitch information (the residual error). My ...
0
votes
2answers
3k views

Resample an array in real-time (application: pitch-bend)

I'm working on a sampler software (that plays .WAV files, when notes are played on a MIDI keyboard). In order to implement pitch-bend feature (i.e. you have a "pitch bend wheel" on the synth and you ...