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
2
votes
0 answers

how to compute frequency and detect pitch of a compressed (mp3) audio file? - Android

I'm having a problem with recording audio using Audiorecord class because the data returned is always zero (the read method does not record audio). So, I thought of playing a compressed audio and read it for processing or decompressing. How could…
netti
  • 41
  • 1
  • 4
2
votes
1 answer

How to calculate the average frequency of an audio recording captured as a ByteArray in Flash?

Keeping it simple for now but assuming i have a ByteArray full of sample data is it possible to calculate the average frequency (thus a pitch) from the entire recording? Is this along the right lines? p = 69 + 12 x log2(f/440hz) ... Excuse my…
Defocalize
  • 21
  • 1
2
votes
3 answers

Autocorrelation Heuristics for a Tuner

I've implemented a simple autocorrelation routine against some audio samples at a rate of 44100.0 with a block size of 2048. The general formula I am following looks like this: r[k] = a[k] * b[k] = ∑ a[n] • b[n + k] and I've implemented it in a…
Luther Baker
  • 7,236
  • 13
  • 46
  • 64
2
votes
2 answers

Flutter -Adding Voice Effects to locally saved audio file(.m4a) - Change Pitch, Add Background Music, Change Voice

I'm building a Flutter mobile application for Android. The User Should be able to add filters to the locally saved recorded audio file(.m4a) & should be able to play it after filters are applied. User Can apply filters like changing pitch, changing…
ayinala
  • 185
  • 1
  • 12
2
votes
0 answers

Algorithm for polyphonic pitch detection given a selection criteria?

Are there any known pitch detection algorithms for detecting multiple specific musical notes in audio representing polyphonic music? All the algorithms I see referenced for polyphonic music, like MUSIC or ESPRIT, are focussed on the open-ended…
Cerin
  • 60,957
  • 96
  • 316
  • 522
2
votes
1 answer

How is this code even working? Pitch and Yaw

I was recently looking up how to create simple bot to the game and there are 2 methods to do that 1 is to calculate pitch and yaw using atan2 and sin for example but there's also another method how peoples calculate it and my question is how it…
Awynon X
  • 39
  • 3
2
votes
1 answer

Pitch / Note detection using Aubio or PyAudio

Problem: I am trying to write some code in python which will detect the pitch/note of the live feed from the microphone. So basically I will be playing a note on my guitar and my code has to check and tell me which note it is. Research: I have…
2
votes
1 answer

Preserve pitch on html video element (preservesPitch, mozPreservesPitch, webkitPreservesPitch)

I'm trying to disable preservesPitch feature on video element that plays slow motion through modifying video.playbackRate On chrome video.webkitPreservesPitch is undefined, and if I set to false or true there is no difference in…
skatehype
  • 73
  • 1
  • 11
2
votes
0 answers

How can I get the pitch of an audio using Librosa? (NOT 2D array, but similar with crepe)

Currently, I'm looking for python packages for audio pitch detection (f0 frequency). I have found a library called librosa and tried the piptrack function to track pitch. However, the result is a 2D array (shown as below) instead of a 1D…
2
votes
0 answers

Smoothly transitioning audio sinewave using python

I‘m a python noobie and I‘m looking to create a sinewave tone generator in python. I would like it to transition smoothly (between frequencies) in realtime. Pseudo-Code: i = 1 while i <= 1000: play(frequency_hz = i) i =+ 1 You would hear a…
Syirrus
  • 61
  • 1
  • 4
2
votes
3 answers

How to set pitch of an audio file or recorded audio file in iphone sdk?

I am recoding a file or I have audio file I want to change the pitch and play the audio file. How can I set the pitch in a iphone program that is using objective-c. Please help me out of this. Thank you, Madan Mohan.
Madan Mohan
  • 8,764
  • 17
  • 62
  • 96
2
votes
1 answer

Change Audio Player function became Live Web Audio Input with Pitch Shift effect

I found a code snippet in the form of a function to change the pitch of the audio being played. I want to change it to a function to change pitch when live input using microphone web-audio. I have tried but it still doesn't work. I need help. This…
Hedi Herdiana
  • 101
  • 1
  • 11
2
votes
1 answer

How to do real-time pitch shifting from mic with Superpowered?

I'm trying to make a pitch shift in real time from a microphone using superpowerd. I looked at the example that is for the file. Also tried to adapt it. I managed to change the sound, but it turned out very distorted with interference. What am I…
arsenium
  • 571
  • 1
  • 7
  • 20
2
votes
1 answer

Pitch detection and change java

I'm french so I'm sorry if you have trouble to understand some of my sentences. Anyways, I saw in some topics that the pitch could be fetected thanks to the Fourier transform but I didn't really understand how to implement it. Moreover, I didn't…
omegas27
  • 21
  • 2
2
votes
2 answers

Play Sounds of Varying Varying Pitch Asynchronously and Concurrently

My goal is to use Python to play sounds with the following requirements in a computer game context. Take some input WAV file and randomly Vary the pitch to +/- 50% of original. Changing the sample rate seems to be an easy way to do this with…
Zaorish9
  • 103
  • 2
  • 10