pitch

Resonance algorithm to detect pitches

陌路散爱 提交于 2019-12-25 03:05:44
问题 I have been looking at different methods of detecting the pitch of a tone sung into the microphone. Seeing as I want to find how closely it resonates with a particular pitch class, I wonder if I could do some sort of physics-based resonance algorithm. If you hold down to sustain pedal on the piano, and sing a tone into it, (and if you are close enough to one of its existing pitches) a note will resonate sympathetically. I would love to be able to model this behaviour. But how would I go about

How to change pitch beyond 1 or -1 in C# + XNA?

夙愿已清 提交于 2019-12-24 10:35:06
问题 I need to be able to have more freedom than just 2 octaves to create the thing I want to, but I can't with XNA. I do realize there probably isn't a way to get the program to accept a larger/smaller value, but is there a way around it? like taking the sound at the lowest pitch, and creating a new one as that so I can lower it more? 来源: https://stackoverflow.com/questions/23115326/how-to-change-pitch-beyond-1-or-1-in-c-sharp-xna

PCM Data Pitch Change in C#

为君一笑 提交于 2019-12-22 12:38:27
问题 I have a program that downloads PCM data from a Web Server, which it uses later to play through a standard PCM player. I want to be able to allow users to change the pitch of the PCM data while its being played. Does anyone know how to do this? 回答1: I don't know any digital signal processing library for C#, but this seems to be a complete source sample for pitch shifting in .net.: http://sites.google.com/site/mikescoderama/pitch-shifting 回答2: The simplest solution is to play back the sound at

Calculating audio pitch in MATLAB?

僤鯓⒐⒋嵵緔 提交于 2019-12-20 04:52:22
问题 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

changing the pitch of an audio wav file in matlab?

断了今生、忘了曾经 提交于 2019-12-20 03:14:16
问题 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. 回答1: This simplest approach might be a phase vocoder. You can find one matlab implementation here: http://labrosa.ee.columbia.edu/matlab/pvoc

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

女生的网名这么多〃 提交于 2019-12-19 09:19:11
问题 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

Extract audio frequency from instrument to find a musical note

China☆狼群 提交于 2019-12-18 18:24:08
问题 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

How to get the fundamental frequency using Harmonic Product Spectrum?

对着背影说爱祢 提交于 2019-12-17 20:40:11
问题 I'm trying to get the pitch from the microphone input. First I have decomposed the signal from time domain to frequency domain through FFT. I have applied Hamming window to the signal before performing FFT. Then I get the complex results of FFT. Then I passed the results to Harmonic product spectrum, where the results get downsampled and then multiplied the downsampled peaks and gave a value as a complex number. Then what should I do to get the fundamental frequency? public float[]

Real time pitch detection

喜你入骨 提交于 2019-12-17 07:05:50
问题 I'm trying to do real time pitch detection of a users singing, but I'm running into alot of problems. I've tried lots of methods, including FFT (FFT Problem (Returns random results)) and autocorrelation (Autocorrelation pitch detection returns random results with mic input), but I can't seem to get any methods to give a good result. Can anyone suggest a method for real-time pitch tracking or how to improve on a method I already have? I can't seem to find any good C / C++ methods for real time

opentk pitch rotation deforms the shape

雨燕双飞 提交于 2019-12-13 21:09:18
问题 I'm using opentk in c# to render a 3d surface and rotate it. The yaw works fine, but the pitch rotation (tilting the object towards the camera) causes the surface to deform. The image on the left is what I'm rendering which is deformed and the one one the right is correct. Note that when the pitch is zero, it looks perfectly fine. Here is the gist of my code: private void glControl1_Paint(object sender, PaintEventArgs e) { GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask