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
3
votes
1 answer

Record a sound and change its pitch when played in android?

I am doing a project to record sound and play it in a different modulation. I have searched the whole web, but I could not find a solution. I have gone through this example but it did not give a solution. Can anyone suggest an idea or sample code to…
Ramz
  • 7,116
  • 6
  • 63
  • 88
3
votes
1 answer

Get pitch, roll and yaw relative to geographic north on iOS?

I see that I can retrieve CMAttitude from a device and from it I can read 3 values which I need (pitch, roll and yaw). As I understand, this CMAttitude object is managed by CoreMotion which is a Sensor Fusion manager for calculating correct results…
vale4674
  • 4,161
  • 13
  • 47
  • 72
3
votes
1 answer

audioqueue kAudioQueueParam_Pitch

The documentation for Audio Queue Services under OS 10.6 now includes a pitch parameter: kAudioQueueParam_Pitch The number of cents to pitch-shift the audio queue’s playback, in the range -2400through 2400 cents (where 1200 cents corresponds to one…
3
votes
1 answer

How to adjust pitch using python wave module

so I changed the playback speed of my output.wav file using python wave module frame rate method and multiplying previous frame rate by 2, but I want to keep the pitch of the new output.wav the same, because it sounds high pitch. How to do? This is…
Gjison Giocf
  • 145
  • 1
  • 11
3
votes
0 answers

FFmpeg speeding up audio without losing quality or making high-pitched sounds

Trying to speed up audio makes all the t's and s's really sharp. I have no idea how to fix it. How do I dull them down? ffmpeg -i input.mp3 -filter:a "atempo=2.0" -vn output.mp3
3
votes
0 answers

micro:bit how to calculate pitch in range -Pi to Pi

How can I calculate the pitch of a micro bit accelerometer as a full range, i.e. from -Pi to Pi radians (the same as -180 to 180 degrees)? Here is my existing micro python code: while True: x = accelerometer.get_x()/1024 y =…
AndyS
  • 725
  • 7
  • 17
3
votes
9 answers

C/C++/Obj-C Real-time algorithm to ascertain Note (not Pitch) from Vocal Input

I want to detect not the pitch, but the pitch class of a sung note. So, whether it is C4 or C5 is not important: they must both be detected as C. Imagine the 12 semitones arranged on a clock face, with the needle pointing to the pitch class. …
P i
  • 29,020
  • 36
  • 159
  • 267
3
votes
1 answer

Xcode 8 Swift 3 Pitch-altering sounds

I'm trying to make a simple game with a hit sound that has a different pitch whenever you hit something. I thought it'd be simple, but it ended up with a whole lot of stuff (most of which I completely copied from someone else): func hitSound(value:…
MysteryPancake
  • 1,365
  • 1
  • 18
  • 47
3
votes
3 answers

Does pydub support pitch modulation?

This old thread seems to indicate that pydub's AudioSegment._data can be used to somehow calculate the pitch of a sound; unfortunately, it seems to be done using a method assigned to the undisclosed Mpm class. That said, however, if pitch data can…
Arcaeca
  • 227
  • 3
  • 15
3
votes
0 answers

Octave shift with Arduino Duo and pedal shield

I want to make a 1 or 2 octave down audio pitch shift, from a line input to an output. Working on the pedalshield. Instead of having only 3 position pot, I want to get: pot fully clock wise normal sound and maybe 10 steps to get 1 or 2 octave…
vittoles
  • 39
  • 1
3
votes
1 answer

Peak detection in Performous code

I was looking to implement voice pitch detection in iphone using HPS method. But the detected tones are not very accurate. Performous does a decent job of pitch detection. I looked through the code but i did not fully get the theory behind the…
Shreesh
  • 677
  • 5
  • 15
3
votes
0 answers

C# - NAudio - How to change sample rate on a float[] while reading it?

I'm coding my first audio application, and I'm struggling for hours on trying to change samplerate of a cached sound. I'm using NAudio and I was able to change the Volume, tweaking the Read() method of my ISampleProvider. Here is the CachedSound…
Alann S.
  • 125
  • 12
3
votes
0 answers

How should I implement accurate pitch-detection in Java for Android phones?

I want to develop an application that would require accurate pitch-detection for musical instruments through the Android phone's microphone. Most suggestions I read of involve using Fast Fourier Transforms (FFT), but they mentioned it having issues…
TLSO
  • 322
  • 3
  • 17
3
votes
1 answer

How to change the pitch of a .wav file in Android?

Can somebody tell me how to change the pitch of a wave file in Android?
Sukitha Udugamasooriya
  • 2,268
  • 1
  • 35
  • 56
3
votes
1 answer

Yaw, Pitch and Roll to vectorDir and vectorUp

I have yaw, pitch and roll from an object and i need to transform it into vectorDir and vectorUp. Someone an idea of how to do it?
Hennaldo
  • 155
  • 6