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

Python Audio Frame Pitch Change

I'm attempting to use pyaudio to make a voice masker. With the way I have it set up right now, the only thing I have to do is input the sound, change the pitch on the fly, and chunk it right back out. The first and last part are working, and I…
Lebull on Wow
  • 43
  • 1
  • 1
  • 4
4
votes
1 answer

How to change pitch AND playback rate with JavaScript / Tone.js?

I would like to accomplish two things at the same time: 1) change playback rate of a sound file to 1/2 speed 2) lower pitch by a fifth Lastly, Instead of using a separate button to play the result I would like to hook this up to an audio tag and use…
mandmeier
  • 355
  • 5
  • 16
4
votes
1 answer

Auriotouch, get musical note from frequency FFT

I'm developing a kind of guitar tuner. I have a function that gives me the FFT, and the values of the FFt for each frequency. How do I get the musical note from there? Do I have to chose the highest peak? for(y=0; y
Neva
  • 1,330
  • 9
  • 11
4
votes
2 answers

How to change audio pitch during playback? (Swift 4)

I'm looking to change the pitch and playback speed of some audio in real time with a slider, or a variable (i.e. while the sound is playing) in Xcode, Swift 4. Currently, I'm using AVAudioEngine, which allows me to set these values before playback…
will
  • 61
  • 1
  • 6
4
votes
1 answer

iOS: Pitch Shifting & Piping output from OpenAL into a buffer

I have recently spotted that it is possible in iOS to use OpenAL to pitch shift. I am looking at Hollance's sound bank player. it takes in 15 or so piano notes spattered through the range, and plays any note by figuring out which sample it is…
P i
  • 29,020
  • 36
  • 159
  • 267
4
votes
3 answers

How do I implement a bandpass filter in C (Purpose: pitch detection)?

I recently asked this question: I am looking for an algorithm to detect pitch. one of the answers suggested that I use an initial FFT to get the basic frequency response, figure out which frequencies are getting voiced, and follow it up with a…
P i
  • 29,020
  • 36
  • 159
  • 267
4
votes
3 answers

FFT Algorithm: What goes IN/OUT? (re: real-time pitch detection)

I am attempting to extract pitch data from an audio stream. From what I can see, it looks as though FFT is the best algorithm to use. Rather than digging straight into the math, could someone help me understand what this FFT algorithm…
P i
  • 29,020
  • 36
  • 159
  • 267
4
votes
4 answers

Change the pitch (and speed) of audio during playback in Python

I'm working on a Python program that plays music. One feature will be a slider that the user can drag up or down to change the pitch of the music as it plays. For example, if the pitch is set to 2, then the music will sound one octave higher, it…
dln385
  • 11,630
  • 12
  • 48
  • 58
4
votes
1 answer

openal pitch shift

Can anyone tell me why the volume becomes lower when I make the pitch higher in openal? The higher the pitch, the lower the volume..... alSourcef(source, AL_PITCH, 1.2f); alSourcef(source, AL_GAIN, 1.0f); with this setting, the volume is still…
Xiu
  • 41
  • 1
  • 4
4
votes
3 answers

Is pitch and speed the same thing in audio programming context?

Pitch means "perceived frequency". Nice. But when I make pitch very low in OpenAL, sound plays a lot of times longer. If I make it very high, sound plays very short but with high frequency. For me, logically the consequence of making slower or…
dontWatchMyProfile
  • 45,440
  • 50
  • 177
  • 260
4
votes
0 answers

Sonic NDK file type is...??? Alternative to Sonic. Need to change Pitch of audio in android?

I downloaded Sonic NDK project from https://github.com/waywardgeek/sonic-ndk, as i know that it plays "talking.bin" by default which is in the projects raw folder, it's a binary file and i want to replace it with my own file in this project. So i…
Morya
  • 346
  • 1
  • 11
4
votes
2 answers

Sending pitch bend to MIDI sequencer in Java

I understand the basics of getting a MIDI sequencer up and running and I would like to be able to increase/decrease the pitch of the sequence during playback, but pitch bend is a message that gets sent to the synthesizer, not the sequencer. I tried…
4
votes
1 answer

Changing tempo (speed) of audio

I want to change the tempo of a stereo audio stream in near realtime - the audio is loaded from a file and the buffer should not be longer than 1 second. I tried SoundTouch (http://www.surina.net/soundtouch/) but the quality when decreasing the…
Hyndrix
  • 4,282
  • 7
  • 41
  • 82
4
votes
0 answers

Python does not detect soundtouch elements (bpmdetect and pitch) in gst-plugins-bad

I have installed gstreamer, gst-plugins-bad and its python bindings. The following code selects a song from a given directory and plays it. import pygst pygst.require("0.10") import gst import pygtk import gtk import os class Main: def…
4
votes
1 answer

when using CMDeviceMotion, if the device is straight up (pitch = 90), it's really unstable. Anyway to solve this?

I know the (pitch, yaw, roll) coordinate system has its own flaw mathematical-wise. However I really hope something instead or derived from this coordinates can be an alternative. What I am try to do is moving the device (let's say it's an iphone)…
1 2
3
17 18