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
52 views

Periodic signal detection algorithms?

I am currently working on pulsar signal periodicity detection. Most of the literature which i studied used traditional FFT (Fast Fourier Transform) or (Epoch Folding) techniques to find the ...
0
votes
1answer
48 views

What is the "chirped response FIR filter"?

In this paper authors describe an algorithm to identify pitch cycle boundaries. In "Pitch cycle detection" section, this sentence describes something that authors termed a "chirped ...
0
votes
2answers
74 views

Why, for a musical instrument, the first harmonic has more power than the fundamental and last longer?

In analyzing the audio recording of a string instrument, I am struggling with pitch estimation. I am using the pYIN algorithm and every pitch estimation I'm obtaining is off by one octave. I assume ...
0
votes
1answer
38 views

FFT behaving weirdly for frequencies below 100Hz

I've written a simple program to take an audio file, and calculate the most prominent frequency for every 0.1s interval. My audio file has a sampling rate of 48000, and am taking datapoint windows of ...
3
votes
2answers
116 views

What is a "pitch period"?

The term pitch period appears in the book Speech and Language Processing by Daniel Jurafsy: As we just said, a pitch-synchronous algorithm is one in which we do something at each pitch period or ...
0
votes
1answer
59 views

Resampling pitch shifter

I’m trying to build a very basic resampling pitch shifter which reads samples from disk. I only want to change -+6 semitones without keeping the original sample length. I already have all the classes ...
2
votes
1answer
55 views

How to determine if certain notes exist within polyphonic music?

Given a segment of audio, if you were to calculate the histogram of frequency amplitudes for all standard musical note frequencies present in the audio, how would you check to see if 2-3 specific ...
0
votes
0answers
42 views

How to shift frequency bins in audio pitch shifter

I would like to ask you for help to understand shifting frequency bins in audio pitch shifter. I have two issues that I can’t undersrand: FIRST QUESTION At first how to shift frequency bins when ...
0
votes
0answers
282 views

Python: How to generate log-frequency spectrogram from an audio?

I want to make a log-frequency spectrogram out of this audio. Later, I need this spectrogram for pitch sequence analysis. This is a sample sequence I want to achieve: ...
0
votes
0answers
19 views

Seperate music instruments and estimate note density

Here is my problem: I have a .wav file of a musical performance with three instruments: a clarinet, a bass and drums. My goal is to detect the note speed played by the clarinet player (so I want the ...
2
votes
2answers
205 views

Implementing a pitch shifter

I am trying to implement a pitch shifter similar to this one, in MATLAB for quick prototyping. My goal is to do the reverse, but I assume it is similar. The implementation details are missing. So I am ...
0
votes
0answers
47 views

Establish instantaneous amplitude of signal

I'm using the YIN algorithm to establish the pitch of my humming / whistling voice. This is a time domain algorithm and gives me the instantaneous frequency as a function of time ($f(t)$). I now wish ...
1
vote
1answer
79 views

Produce musical signal from instantaneous frequency

I'm implementing the Yin Algorithm in Python so as to extract the pitch of my voice when whistling or humming. My goal is to produce the Gate (Envelop Control) and CV (Pitch Control) signals which can ...
1
vote
2answers
80 views

Obtain Envelope and Pitch curves of my Singing Voice

I wish, in real time, to hum into a mic and produce via dsp the envelope and pitch of what I am humming, before outputting these two signals to my analog synth. This synth takes a gate and a cv signal....
1
vote
2answers
451 views

Is PSOLA or WSOLA better for vocal stretching/retuning?

I'm looking to implement a time-domain pitch modification algorithm such as PSOLA (Pitch Synchronous Overlap and Add) or WSOLA (Waveform Similarity Overlap and Add). At the moment I'm using PSOLA, but ...
0
votes
1answer
44 views

Why does toning up a piano make it sound similar to that a string instrument

I have a .wav file of a piano being played at 220 hertz. When I tone this up to 880 hertz, it begins to sound "stringy". However, if I were to use the piano plugin in fl studio and play it ...
1
vote
0answers
46 views

Pitch correction using Fast Foruier Transform [duplicate]

I am very new to digital signal processing and I have a project about audio programming. For the project, I wanted to try to make an Auto-tune like effect. I started by experimenting on the signal ...
0
votes
1answer
76 views

How to difference a loud sound (playing notes), from a soft noise in spectrum. (Pitch detection with bass)

I'm trying a program that outputs the bass line that you are playing. I have some arrays from a big one with the sound in time domain, that are splited (Hann window). Later, I do the FFT, then I get ...
3
votes
3answers
129 views

What is difference between frequency and pitch?in nutshell and simple words?

Although both are some how directly related Such that when one increases,the other one also increases I have read different Google results but couldn't understand . I want to know what is exact ...
0
votes
1answer
117 views

The Zero-Crossing rate threshold for a voiced/unvoiced decision

I've implemented a function that calculates the zero-crossing rate for a given signal. I've used this same function to calculate the pitch. To differentiate voiced signals from unvoiced with reference ...
3
votes
3answers
141 views

pitch detection: which is the most robust way to distinguish voiced from unvoiced audio

I am trying to write a voice/whistle driven synth but I am struggling with pitch detection. As a premise I must say I am quite skilled and experienced at dsp coding plus I have pretty read almost ...
1
vote
1answer
466 views

Pitch detection using Cepstrum in matlab

What i am trying to do is to detect the pitch of a given sound signal, so for that purpose, i wanted to find cepstrum of a given signal. This is my code in MATLAB: ...
0
votes
1answer
136 views

Pitch Detection in the Browser

Does anybody know a good library that does pitch detection in the browser? Anything in Javascript or Webassembly would suffice. My target is mainly singing voices. I already tried pitchfinder, but for ...
1
vote
0answers
28 views

Implementation of CUSUM to segment stable parts in a pitch contour

I've got the pitch contour of a person singing several different frequencies after each other (octave errors cleaned up). I'd like to segment the stable parts from the transitionary ones (gliding up ...
2
votes
1answer
491 views

Problem using pitch shifting with TD-PSOLA and formant preservation

I tried out this implementation of TD-PSOLA (https://github.com/sannawag/TD-PSOLA) and even though I know how the algorithm works, I can't understand why I get NO audible differences in the output ...
1
vote
0answers
94 views

How to find the Pitch of a utterance using narrowband spectrogram

Can anyone tell me how to find the pitch of an utterance from it's narrow band spectrogram? I am pretty new to the speech processing domain so any help is appreciated. P.S. I need methods to estimate ...
0
votes
1answer
116 views

How to compute key of a song?

I'm looking for a precise way to compute the key of a song. BPM would be cool too. Analog is ok. I tried to approach it from the DFT angle, but got stuck and can't really put a finger on what's the ...
2
votes
2answers
404 views

Understanding Pitch Detection with Autocorrelation Methods

I've been reading through A Smarter Way to Find Pitch, describing its pitch detection algorithm using autocorrelation. I've been having trouble understanding the accuracy claims. It says: MPM runs ...
2
votes
3answers
1k views

Resampling and removing high frequency noise?

I am currently working on a simple sampler that will allow me to load in a wav file and use my MIDI keyboard to play the loaded wav sample at the frequency according to the note played. Now I need ...
3
votes
3answers
237 views

How can I convert audio to a series of notes using pitch detection?

I have a good pitch detection system set up, and I would like to return a series of notes given an array of audio samples. My current approach is as follows: I have a moving window across the audio ...
2
votes
1answer
641 views

Pitch detection, YIN, pYIN

So here is the "seminal" YIN paper: Cheveigne A, Kawahara H. - YIN, a fundamental frequency estimator for speech and music and the new, improved probabilistic YIN: Mauch M, Dixon S. - PYIN: A ...
0
votes
2answers
86 views

Technique to detect pitch after analysing only one pitch period?

does anyone know if there is a technic to estimate the pitch of a given signal by analysing only one pitch period. I'm asking because I read about a program called AudioMotors. https://lesound.io/...
0
votes
1answer
495 views

Note detection in an audio file.

I am trying to find the given note in an audio file. It has been specifically told that each file contains only one note. So i directly took fft and found the corresponding frequency and then mapped ...
1
vote
1answer
854 views

how to create a harmonic mask from fundamental frequency?

Using an algorithm that gives the fundamental frequency across time, example https://www.mathworks.com/help/audio/ref/pitch.html (or some other one?) how would I then use that, to create a harmonic ...
-1
votes
1answer
167 views

Pitch Calculation Error via Autocorrelation Method

Aim : Pitch Calculation Issue : The calculated pitch does not match the expected one. For instance, the output is approx. 'D3', however the expected output is 'C5'. Source Sound : https://...
0
votes
1answer
2k views

YIN pitch estimation algoritm-simplified explanation [closed]

can someone please explain the steps of YIN pitch detection algorithm in a simple way "especially the last 3 steps". here is the research paper of YIN algorithm http://audition.ens.fr/adc/pdf/...
0
votes
1answer
337 views

Pitch detection algorithms "give up" after very little

I'm sorry if pitch detection has become a stale topic here, but I'm really interested if anyone has any advice on this topic. I'm looking for the best pitch detection algorithm for stringed ...
0
votes
3answers
175 views

Efficient calculation of exact frequency from a broad frequency range (1 Hz - 1000 Hz)

I have some input signal sampled at 1-10 MS/s. Let's assume that it contains one strong frequency component (with frequency anywhere in the range from 1 Hz to 1000 Hz or even higher, changing over ...
1
vote
1answer
2k views

Change pitch of a wav file without changing the Sample rate?

I'm creating a Python library I call PAL, (Python Audio Library) and I need some help. What ways are there to change the pitch of a wav file without changing the sampling rate? I have complete access ...
0
votes
1answer
322 views

Where to begin? - Multi source polyphonic pitch detection

I'm quite interested in real time pitch tracking. I have used mcleod pitch method, Yin and other methods to perform real time pitch tracking for a monophonic audio track. I know that Polyphonic ...
2
votes
1answer
408 views

What are F0 counters in Speech signals? What is represented by F0?

I can't find any dedicated definition for Frequency F0 counters. Can anyone tell me what does F0 exactly mean, I am confused about that.
3
votes
2answers
352 views

How to prevent Octave Jumping in ACF of Speech Signal?

I'm working with speech signals and my aim is to estimate the fundamental frequency $\ F_0$ of this signal often called as "pitch". The main idea is taking small blocks of the speech signal such ...
0
votes
2answers
99 views

What should I do with FFT result array from microphone input? [duplicate]

I currently want to create a small pitch detector and I have to say that I am very new in this topic of signal processing. At the moment I implemented the FFt algorithm and I got an array of window ...
2
votes
2answers
236 views

Pitch perception - Why does our ear not directly detect the missing fundamental frequency?

My motivation for this question is related to biological phenomenon of our inner ear, so I initially posted in the biology community, but I suspect the answer has a DSP explanation, so I figured this ...
0
votes
2answers
213 views

Pitch detection of two following music notes (C0 and C0#)

Hi signal processing community, currently I am working on a pitch detection tool which should work on audio input files (or later also instrumental or voice from microphone) to say which music note ...
2
votes
2answers
223 views

Pitch detection to find music notes (from voice)

Hi signal processing community, currently I am searching a topic for my master thesis in computer science and since I am a very good singer I want to do something with music. I thought about a topic ...
0
votes
1answer
2k views

Pitch estimation using the autocorrelation method

I have the following code: ...
1
vote
1answer
1k views

How do I deepen my voice (I'm a female) to sound like a man in a video for a school project? [closed]

Some extra info. that I think might help or make things clearer: The video has several other people in it also talking (I don't want to change their voices). I have some experience in editing ...
0
votes
2answers
82 views

Pitch fluctuates unexpectedly in simple sine function

I wrote a very basic C program to play a sine of a user-specified frequency. In the interest of portability, I have it spit values directly to stdout, so hopefully you can reproduce my problem on your ...
2
votes
3answers
528 views

Why is pitch detection necessary in pitch correction?

I am trying to understand the process of changing the pitch of a signal. After performing the FFT on a windowed signal, we have the frequency information for the signal. Why can we not simply change ...