pitch

FFMPEG change Tone Frequency (Pitch Audio)

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 06:19:32
问题 How can i change the Tone frequency . This Example only pitch 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 atempo=100/90 90h.mp3 This Example not works for me, it sounds same inputfile Mp3 outputfile Mp3 回答1: Basic method is ffmpeg -i 100h.mp3 -af asetrate=44100*0.9,aresample=44100 90h.mp3 where 44100 should be replaced with the input sample rate. 回答2:

Recording, modifying and playing audio on iOS

故事扮演 提交于 2019-12-02 21:41:05
问题 EDIT: In the end I used exactly as I explained below, AVRecorder for recording the speech and openAL for the pitch shift and playback. It worked out quite well. I got a question regarding recording, modifying and playing back audio. I asked a similar question before ( Record, modify pitch and play back audio in real time on iOS ) but I now have more information and could do with some further advice please. So firstly this is what I am trying to do (on a separate thread to the main thread):

changing the frequency of a soundfile in android

血红的双手。 提交于 2019-12-02 08:27:17
问题 I try to change the frequency of a single soundfile. I managed to do that in android with the SoundPool thing. But the result sounds really bad. So I stepped about the Fourier Transformation - but I am not sure if this is what I am looking for. I want to load a single file and change the frequency of that file every time that file is played. So I can create melodies out of one tone. Is that possible with android/java? This is the way I managed to do it. With "bad" I mean it sounds out of tune

Recording, modifying and playing audio on iOS

大兔子大兔子 提交于 2019-12-02 07:52:34
EDIT: In the end I used exactly as I explained below, AVRecorder for recording the speech and openAL for the pitch shift and playback. It worked out quite well. I got a question regarding recording, modifying and playing back audio. I asked a similar question before ( Record, modify pitch and play back audio in real time on iOS ) but I now have more information and could do with some further advice please. So firstly this is what I am trying to do (on a separate thread to the main thread): monitor the iphone mic check for sound greater than a certain volume if above threshold start recording e

Calculating audio pitch in MATLAB?

馋奶兔 提交于 2019-12-02 07:21:26
Yesterday I finalised the code for detecting the audio energy of a track displayed over time, which I will eventually use as part of my audio thumbnailing project. However I would also like a method that can detect the pitch of a track displayed over time, so I have 2 options from which to base my research upon. [y, fs, nb] = wavread('Three.wav'); %# Load the signal into variable y frameWidth = 441; %# 10 msec numSamples = length(y); %# Number of samples in y numFrames = floor(numSamples/frameWidth); %# Number of full frames in y energy = zeros(1,numFrames); %# Initialize energy for frame = 1

changing the pitch of an audio wav file in matlab?

筅森魡賤 提交于 2019-12-02 01:04:35
How do you go about changing the pitch of an audio signal in matlab?. Essentially I just want to change the original qualities of the audio signal without making a dramatic change. I'm trying to use the original input audio to simulate a chorus by changing its qualities slightly so that I can have multiple variations of the audio to simulate the chorus. This simplest approach might be a phase vocoder. You can find one matlab implementation here: http://labrosa.ee.columbia.edu/matlab/pvoc/ This is a rabbit hole, though. There are so many more techniques that can employed to improve the quality

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

非 Y 不嫁゛ 提交于 2019-12-01 09:18:33
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 from compass, gyro and accelerometer together (on Android it is SensorManager Class). So my questions are: Are those values (pitch, roll and yaw) relative to the magnetic north and gravity? If above is correct, how can I modify it to give me results relative to the geographic north? If a device (such as iPhone 3GS) doesn't have an gyroscope, do I

MATLAB - Pitch Shifting an Audio Signal

风格不统一 提交于 2019-12-01 01:42:29
My group is developing a simple MATLAB Graphical User Interface (GUI) that is supposed to record audio from a microphone - plugged in or built in to the computer - and play back the signal. So far we have that completed. Our GUI also can load a sample (a .wav file, etc..) and play it back using the same "Play" pushbutton on the GUI. We have a Play, Record, Load, and Save push button. Now for the pitch-shifting of loaded or recorded samples... We know we need a peak-picking algorithm to find the fundamental frequencies of the signals. We were then thinking that we could multiply each of those

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

↘锁芯ラ 提交于 2019-11-30 18:01:09
问题 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 closest to, and pitch shifting that sample an appropriate amount. This is the code that does it: - (void) noteOn: (int) midiNoteNumber gain: (float) gain { if (!initialized) { NSLog(@"SoundBankPlayer is not initialized yet"); return; } int sourceIndex =

Extract audio frequency from instrument to find a musical note

≯℡__Kan透↙ 提交于 2019-11-30 16:31:38
I'm trying to develop an Android app that extracts audio frequency from an instrument. I'm using Fast Fourier Transform method with Jtransforms. Here is what I have so far: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); new readFrequencies().execute(); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } private class