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
421 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
1answer
57 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
1answer
500 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
416 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 ...
0
votes
1answer
151 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 ...
0
votes
2answers
862 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
263 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
2answers
177 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? ...
1
vote
2answers
269 views

Melodic or tonal pitch contour tracking?

What algorithms or methods can be used for the tracking of audio pitch contours? (Such as in musical vibrato and glissando, or for tonal vowels in languages such as Chinese?). Will a PLL work even ...
0
votes
0answers
79 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
2answers
87 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
696 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
654 views

What's wrong with this Average Magnitude Difference algorithm?

I implemented this Average Magnitude Difference algorithm in Javascript ...
1
vote
1answer
76 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
127 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 ...
1
vote
2answers
1k views

generating ultrasonic sound in matlab

I am working for my class project on making animal repellent , I need to know how I could go about taking a normal audio file and shift its frequency/Pitch very high to make it an ultrasonic sound.
9
votes
1answer
1k views

Discrete Fourier transform - finding the fundamental quickly?

First, I appologize because I'm a software developper and it's been a very long time I didn't dive into pure mathematics, so my question might seem dumb. I hope not. The context is pitch recognition ...
2
votes
3answers
4k 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
votes
1answer
1k 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
vote
2answers
3k 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 ...
1
vote
2answers
707 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 ...
0
votes
2answers
117 views

At what time stretching ratio would an audiophile notice a wrong pitch

I have some low quality audio from my native tongue on a VHS. I am using this audio to dub HQ released of the same program (from another language source). The video frames/second ratio is 25:23.98 . I ...
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). ...
10
votes
2answers
4k views

Harmonic Product Spectrum limitations in pitch detection

I've made a pitch detection algorithm using HPS and I'm facing a problem. I'm a beginner with signal processing and this site helped me before, so I though I should ask. For higher pitches ( ...
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 ...
-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 ...
0
votes
1answer
929 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 ...
2
votes
0answers
325 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 ...
1
vote
1answer
266 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
260 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
914 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
109 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
977 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
1answer
848 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?
0
votes
0answers
327 views

Trying to understand the gold-rabiner pitch detection algorithm

I am currently in the process of taking on implementing the Gold-Rabiner pitch tracking algorithm, and I came across what seemed like a good explanation of it in David Meehan's "A Code Excited Linear ...
1
vote
2answers
732 views

Pitch class profiling

Currently, I am developing a piece of software for chord recognition. There are FFT and pitch class profiling on it. I tried using the pitch class profile proposed by Takuya Fujishima, but the result ...
0
votes
1answer
937 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 ...
1
vote
1answer
152 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
0answers
51 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
137 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
139 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 ...
0
votes
2answers
360 views

pitch extraction for speech

I am building an LPC analysis tool, and am at the point of needing to do pitch period analysis. I was initially interested in using the Gold & Rabiner algorithm for this, and got a hold of a ...
1
vote
1answer
1k views

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-...
0
votes
2answers
2k 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 ...
5
votes
2answers
412 views

how can I calculate pitch deviation in a large collection of audio files?

I am making a software model of an existing digital synthesiser and I have made audio recordings of single notes with particular parameter settings. I made a program in C++ which sends a MIDI sysex ...
1
vote
1answer
578 views

What DSP method are consumer products like the game Rocksmith and guitar polyphonic tuners likely to use for multiple f0 detection?

The game Rocksmith and some polyphonic guitar tuners (like the PolyTune) are able to recognize, at least to some extent, multiple fundamental frequencies in single-source audio. I know there are some ...
2
votes
2answers
3k views

What is the difference between pitch detection and Onset detection?

According to wikipedia Onset detection: Onset refers to the beginning of a musical note or other sound, in which the amplitude rises from zero to an initial peak. It is related to (but ...
0
votes
1answer
90 views

Developing a classifier for a periodic music

I am trying to develop a classifier for Indian Taals, for which I would be focusing only on the Tabla. Now once a extract a period of the Tala(a repetitive pattern), I want to develop some feature ...
4
votes
2answers
1k views

Thoretically, what makes multi-pitch detection so difficult?

For multi-pitch detection, I mean for example pressing several piano keys at the same time. For signal pitch detection (pressing one key at a time), after FFT, mostly the frequency with the largest ...