Questions tagged [pitch]

a perceptual property of sounds governed by the frequency of vibrations.

a perceptual property of sounds governed by the frequency of vibrations.

256 questions
36
votes
3 answers

Graphing the pitch (frequency) of a sound

I want to plot the pitch of a sound into a graph. Currently I can plot the amplitude. The graph below is created by the data returned by getUnscaledAmplitude(): AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(new…
Amy B
  • 17,874
  • 12
  • 64
  • 83
32
votes
5 answers

Cepstral Analysis for pitch detection

I'm looking to extract pitches from a sound signal. Someone on IRC just explained to me how taking a double FFT achieves this. Specifically: take FFT take log of square of absolute value (can be done with lookup table) take another FFT take…
P i
  • 29,020
  • 36
  • 159
  • 267
29
votes
7 answers

Real time pitch detection

For real time pitch detection of a user's singing FFT and autocorrelation don't get a good result. I can't find C / C++ methods. Microphone input data is correct and when using a sine wave results are more or less the correct pitch. I'm visualizing…
Niall
  • 757
  • 3
  • 9
  • 17
24
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,112
  • 2
  • 17
  • 29
18
votes
3 answers

Python change pitch of wav file

I need any python library to change pitch of my wav file without any raw audio data processing. I spent couple hours to find it, but only found some strange raw data processing code snippets and video, that shows real-time pitch shift, but without…
Daniel
  • 309
  • 1
  • 3
  • 10
17
votes
3 answers

Algorithm to determine fundamental frequency from potential harmonics

I am attempting to extract a fundamental frequency from a sound source. maybe someone is singing A3 into the microphone, so I want to be detecting ~ 110Hz my approach is: FFT 1024 floats use the phase of each bin to accurately determine its…
P i
  • 29,020
  • 36
  • 159
  • 267
14
votes
6 answers

Programmatically increase the pitch of an array of audio samples

Hello kind people of the audio computing world, I have an array of samples that respresent a recording. Let us say that it is 5 seconds at 44100Hz. How would I play this back at an increased pitch? And is it possible to increase and decrease the…
Eric Brotto
  • 53,471
  • 32
  • 129
  • 174
14
votes
4 answers

C# Audio - How to time stretch (different tempo, same pitch)

I'm trying to make a winform app in C# (VS2008) that can load an mp3 (other formats would be nice, but mp3 at a minimum) and be able to adjust the playback speed (tempo) without affecting pitch. I really don't need any other audio effects. I tried…
heath
  • 1,047
  • 1
  • 14
  • 31
13
votes
2 answers

FFMPEG change Tone Frequency, keep length (Pitch Audio)

How can I change the Tone frequency. This Example only pitches it by keeping the old tone frequency and only decrease the length of File. For Example, I have a constant 100 Herz tone (as mp3) and I want it to change 90 Herz ffmpeg -i 100h.mp3 -af…
dazzafact
  • 2,570
  • 3
  • 30
  • 49
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,943
  • 7
  • 31
  • 38
10
votes
2 answers

Sound Touch in iPhone

Has someone been able to make SoundTouch Audio Processing Library work for iPhone? Simple Xcode Demo would be helpful. I'd just like to change pitch without tempo change.
user406327
  • 101
  • 4
10
votes
2 answers

Pitch Shifting in Real Time With AVAudioEngine using Swift

I am developing an Audio effects application on OSX using Swift, and I'm interested in integrating a pitch-shift effect. I would like in real-time, to change the tone up or down an octave. Currently I am only getting a dry signal. I am not sure if…
9
votes
2 answers

How to change pitch and tempo together, reliably with ffmpeg

I know how to change tempo with atempo, but the audio file becomes distorted a bit, and I can't find a reliable way to change pitch. (say, increase tempo and pitch together 140%) Sox has a speed option, but truncates the volume AND isn't as widely…
Ray C
  • 547
  • 2
  • 7
  • 24
9
votes
2 answers

Modify audio pitch of recorded clip (m4v)

I'm writing an app in which I'm trying to change the pitch of the audio when I'm recording a movie (.m4v). Or by modifying the audio pitch of the movie afterwards. I want the end result to be a movie (.m4v) that has the original length (i.e. same…
mikeesouth
  • 1,610
  • 1
  • 19
  • 34
8
votes
3 answers

Cleaning up noisy Cepstrum results

I've been working on a simple frequency detection setup on the iphone. Analyzing in the frequency domain using FFT results has been somewhat unreliable in the presence of harmonics. I was hoping to use Cepstrum results to help decide what…
brodney
  • 1,176
  • 2
  • 14
  • 29
1
2 3
17 18