Questions tagged [pitch-shifting]

By definition pitch shift is a DSP technique able to change the pitch of audio signal without change speed the pitch of sound is raised or lowered, is characterized as a sound effects, there are different methods based in time domain or frequency domain which can be used to obtain this effect.

By definition pitch shift is a DSP technique able to change the pitch of audio signal without change speed the pitch of sound is raised or lowered, is characterized as a sound effects, there are different methods based in time domain or frequency domain which can be used to obtain this effect.

80 questions
1
vote
0 answers

can't run Java program PitchShift with TarsosDSP

I am trying to run the Pitch Shifting example here: https://0110.be/posts/Pitch_Shifting_-_Implementation_in_Pure_Java_with_Resampling_and_Time_Stretching but I can't get it to work. I try to run java -jar PitchShift-latest.jar from the command…
1
vote
0 answers

Export buffer after pitch-shifting uploaded audio in JavaScripting

I am working on JS pitch shifter for uploaded files. As a part of my code I used this source: https://github.com/urtzurd/html-audio Now I'm stuck on export. So I can upload locally stored file, then pitch-shift it, but then I want to export it, but…
George
  • 11
  • 3
1
vote
1 answer

how to change the pitch of recorded audio getting me following error

Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: node != nil' AVAudioFile *file=[[AVAudioFile alloc] initForReading:_recordedvoice error:nil]; AVAudioFormat…
1
vote
2 answers

Pitch shift of an audio file in iOS8

I am trying to shift the pitch of an audio file multiple time to indicate changes in the state to the user. I wasn't sure how to do this in objective-c I found this article about a question that discusses it, but it was for swift. Also, I wasn't…
user1564015
  • 65
  • 1
  • 9
1
vote
3 answers

How to use AVAudioTimePitchAlgorithmSpectral?

My app includes an audio player that uses AVAudio to play audio files from the iPod music library. I'd like to add a pitch-shifting feature to the player, and the pitch-shifting libraries I've looked at would require writing a new player using a…
arlomedia
  • 8,534
  • 5
  • 60
  • 108
1
vote
1 answer

Linear interpolation - audio pitch shift

I am trying to do pitch shifting on a sample. I am using linear interpolation method. If amount being pitched is a whole integer value, pitch is shifted cleanly. If the amount being pitch shifted is rational, the sound is heavily distorted. The…
Scorb
  • 1,654
  • 13
  • 70
  • 144
1
vote
1 answer

How to change pitch (sample rate) at run-time with portaudio?

How to change pitch (samplerate) at run-time with portaudio ? Many thanks.
1
vote
1 answer

Audio Pitch and Tempo modification

I need to modify pitch or tempo of an audio, but need to do them separately. Is there any example in Android for that or any library which provides support for Android. I want to avoid using NDK/JNI for this, since I am not that good into it. I…
0xC0DED00D
  • 19,522
  • 20
  • 117
  • 184
1
vote
2 answers

Frequency Shifting with FFT

I've been experimenting with a few different techniques that I can find for a freq shifting (specifically I want to shift high freq signals to a lower freq). At the moment I'm trying to use this technique - take the original signal, x(t), multiply…
user2675197
  • 11
  • 1
  • 2
1
vote
0 answers

How to convert AudioUnitSampleType to use with Dirac LE

I am getting crazy with this issue. I am using Dirac LE to perform pitch shifting but the library always adds lot of clicks to the resulting conversion. I need to do the conversion in real time inside the Callback function of an AudioUnit. All the…
1
vote
1 answer

Increase or Decrease the Pitch of the audio file using C#

I want to increase and decrease pitch of an audio file (.m4a, mp4, etc). I am using Visual Studio 2008 and .NET Framework 3.5 I have tried out the following link from MSDN, but no success yet Here in the above link, even after importing the…
rohan panchal
  • 881
  • 3
  • 15
  • 32
1
vote
1 answer

sound pitch-shifting in real time using appcelerator

I'm a complete newbie at Appcelerator's Titanium SDK, so I apologize in advance if this question has an obvious answer. Is there any way to change a sound's pitch in real-time using appcelerator? Is there a module that can do that? When looking for…
Miki
  • 419
  • 1
  • 4
  • 15
0
votes
1 answer

Using Tone.js, can I get the raw PCM data that represents the audio played through my speakers?

I need to take an array of bytes that represents an audio file (a wav files data) and make a new array of bytes that represents that same wav file, but with an increased pitch. It sounds simple but apparently is anything but. I tried doing this on…
0
votes
0 answers

Convert Audio Nodes from Web Audio API to play in same quality with Expo Webview for IOS

I'm using currently writing a mobile app on Expo that loads music files into a Webview and enables pitching their music key. I'm utilizing this repo for that: https://github.com/olvb/phaze, which works with AudioWorkletNodes and the waves-audio…
0
votes
0 answers

How to make "duck" audio effect in real time (pyaudio)

Idea: Read the user's microphone and in real time (possible delay up to 500ms) change the pitch of the audio and play it to the output device (Virtual Audio Cable). from librosa.effects import pitch_shift ... def pitch_shift_callback(in_data,…