Questions tagged [music]
The music tag has no usage guidance.
165 questions
1
vote
1
answer
4k
views
Determining the fundamental frequency/pitch of a note
What I am trying to achieve is getting the fundamental frequency of a note played by an instrument. What I have already done is performing an FFT on a samples of audio file, and here's what I get:
...
1
vote
2
answers
1k
views
Sampling frequency of audio
Based on what we choose sampling frequency when sampling some song? Do we use Nyquist–Shannon sampling theorem, or maximum sampling frequencies are pre-defined, so it will never come to aliasing ...
3
votes
1
answer
2k
views
what are the Pros and Cons of ESPRIT and MUSIC algorythms?
On wikipedia there are only 2 lines about ESPRIT: Estimation of signal parameters via rotational invariant techniques (ESPRIT)... MUSIC doesnt have an entry in the music disambiguation page, other ...
4
votes
2
answers
3k
views
Can anyone explain how does CZT (Chirp Z Transform) really help in 'spectral zooming'?
I found some explanation alongwith the Matlab Code here,
but I can't figure out, without a good example, why would this result in spectral zooming? (or develop some time intuition like viewing it as ...
0
votes
3
answers
132
views
Resonance and Pitch classes
Suppose we denote the frequency of the note $\textbf{C}_{0}$ by $f$ then we know that $f,2f,3f,...$ are all resonating frequencies. However the frequencies $2f,4f,...,2^{m}f$ belong to the same pitch ...
2
votes
0
answers
107
views
Audio transient characterization of instrumental music
Some time ago, I seem to recall hearing or reading of an audio experiment where the very short initial transients of one musical instrument (A) were spliced in front of the much longer steady state or ...
0
votes
1
answer
549
views
Simulating musical instruments using their impulse response
I studying DSP and trying to find the limitation of 'teaching' a software to emulate a musical instrument by sampling its notes at different velocities and building an LTI system for simulating it.
...
5
votes
2
answers
2k
views
How does Adobe After Effects generate its "audio spectrum" effect?
I'm trying to replicate the "audio spectrum" effect from Adobe After Effects. An example can be seen in this video:
Obviously, it has to be some variant of a fourier transform, but I've tried taking ...
1
vote
1
answer
902
views
Principal Component Analysis as a step between STFT and MFCC
For computing Mel Frequency Cepstral Coefficients you can use already calculated STFTs as a basis and perform the Mel frequency mapping on it.
My question: Does it make a significant difference if I ...
2
votes
2
answers
3k
views
Integration of square wave
trying to program an integrator. My input is a square wave and my expected output should be a triangle wave. However, whenever I pass it through my low pass filter algorithm (just a 2nd order ...
1
vote
2
answers
168
views
What is a note?
That simple. What is a note in digital signal processing? Is it a single value of y[n] in a system with a difference equation e.g. ...
-1
votes
2
answers
618
views
How do you calculate RMSE in degrees for a DOA estimator system with multiple incoming signals?
Let's say you have a system with 1 transmitter and 5 receivers. We'll use the MUSIC algorithm to determine DOA of incoming signals.
If we have 1 signal (at 0° for example), it's easy to calculate ...
0
votes
0
answers
48
views
Distinguish between two vocals by their timbre
Right now I'm working on a signal processing project, I'm not quite to the point where I'm implementing the DSP algorithms yet (still working on the low level hardware) although I'd like to get an ...
1
vote
4
answers
369
views
Algorithm for testing input sound for multiple expected notes?
** originally I asked this question on stack exchange and was pointed to dsp.stackexchange **
I need to determine when the correct musical notes (from a piano) such as in a chord are being played. ...
2
votes
2
answers
378
views
Is it appropriate to use PSD on the analysis of a plucked guitar string?
I'm using python 2.7 to compare tonal differences in guitar stings.
I've found that in matplotlib, there are some great built-in features such as
matplotlib.mlab.magnitude_spectrum
and
matplotlib....
0
votes
2
answers
180
views
Can software distinguish between different musical instruments
If possible, I would like to write a little script that can identify different musical instruments from just a recording. Apart from variations of amplitude and frequency over time (which can be ...
3
votes
2
answers
313
views
Key detection Dance Music inaccuracies - matlab
I have been working on a project with a vide variety of functions for DJ'ing. I am nearing the end, however, the accuracy rate on the key detection part of it is not pleasant when fed tracks of Dance ...
0
votes
1
answer
130
views
What is the reason for "random" spikes in amplitude of a guitar waveform?
In the image below there is the waveform of a clean, strummed guitar note, where the absolute value of the amplitude values has been taken.
At the point marked there is a momentary spike in amplitude ...
0
votes
1
answer
488
views
efficient triangle to sine morphing?
I'm coding a synthesis external for MaxMSP in C.
It's based on Peter Blasser's bounds and bounce concept ( http://petermopar.blogspot.co.uk/2014_04_01_archive.html )- basically triangle waves with ...
0
votes
1
answer
592
views
MATLAB flanger...zipper noise, crackling, help with interpolation values?
i'm writing a batch script in MATLAB to flange.
i'm getting some periodic noise, and i'm having trouble tracking down the source. it's definitely in the algorithm, because soundsc() will scale ...
5
votes
1
answer
2k
views
Improving an auto-correlation based guitar pitch detector
I've seen many questions on this forum regarding pitch detection for musical instruments (commonly guitar), and spent a while reading through the answers to create a basic implementation of auto-...
0
votes
1
answer
83
views
Music note of different instruments
What do I need to know to difference a note for different musical instruments? for example, if they play the same note, (same frequency), how can I difference them if they have the same frequency?
2
votes
2
answers
4k
views
What is the difference between pitch detection and Onset detection?
According to wikipedia Onset detection:
Onset refers to the beginning of a musical note or other sound, in
which the amplitude rises from zero to an initial peak. It is related
to (but ...
1
vote
1
answer
2k
views
Does Wav format supports writing complex values
I have a sine tone, doing some math, and finally gets an harmonically accumulated sine tone in complex numbers. I do want to preserve the phase information of imaginary part on the other end, which ...
1
vote
0
answers
46
views
Variation in Signal Power in Mimo system
I am exploring methods for reducing computations required by MUSIC (Multiple Signal Classification) Algorithm. Most of the computational power is spent on calculating SVD.
My approach is to take ...
4
votes
0
answers
699
views
Incorrect Frequency results when using Multiple Signal Classification (MUSIC)
I am using MUSIC (Multiple Signal Classification) to determine Direction Of Arrival (DOA) and frequency of signals impinging on an Antenna Array. I am using a function ...
1
vote
3
answers
863
views
how can I analize music as spotify/musixmath/shazam does?
I mean, does exists some state of the art algorithm able to extract music features, classify them and identify similar music or find lyrics?
I know that there are many topics or steps involved on my ...
5
votes
2
answers
5k
views
Does audio upsampling create noise/artifacts or degrade the signal?
I've read that upsampling performed in digital music playback can color the sound, produce artifacts, etc. For example, an audio file ripped from a CD might be 44.1Khz/16-bit, and then upconverted to ...
9
votes
1
answer
2k
views
Detecting changes between voice and music
I have a bunch of audio files that have both speech and music parts (think radio). For instance, a given file might consist of the following sections:
...
2
votes
2
answers
122
views
is there a second order approximation to perceived loudness
Quoted from this
As a first order approximation it takes ten times the energy to double the perceived loudness
So is there a 2nd order approximation. If so then how much change in RMS value ...
5
votes
4
answers
2k
views
How do I compare chords played on a guitar with a known sample?
I want to create a project that will recognized the chords that i played in guitar.
I recorded a raw sound to be compare to the one that the user will input.
Example
I have a recorded sound chordA ...
0
votes
1
answer
248
views
Suggestions for FFT based tools to analyze music - Preferably MATLAB/free software packages [closed]
I am interested in analyzing full length songs for general features of the track which are not otherwise apparent. For e.g., I want to look at various parts of the song with time-frequency plots/...
0
votes
2
answers
1k
views
Pitch class profiling
Currently, I am developing a piece of software for chord recognition. There are FFT and pitch class profiling on it. I tried using the pitch class profile proposed by Takuya Fujishima, but the result ...
0
votes
2
answers
2k
views
Comparing the loudness of two samples
I have two wave files each containing a sample of a note. I wish to compare, using a program, each sample and present how loud the first sample is with respect to the second if each sample is played ...
0
votes
4
answers
185
views
Tune a piece of music
Suppose I have an instrument which is out of tune. For example lets say, as an example, the notes it plays are as follows: C+20 cents, C#+20 cents, D+20 cents D#+20cents etc. In other words, it plays ...
2
votes
3
answers
1k
views
synchronizing two music tracks
I would like to synchronize two different music tracks (and maintain synchronization) as a DJ would with two records.
So far, I have the beats mapped for each song, so I am able to adjust their rates ...
1
vote
3
answers
6k
views
Easiest Beat Tracking Algorithim
I want a relatively easy to implement but relatively reliable algorithm for detecting beat locations in an audio file.What I am aiming to do is get the location of the closest beat to a particular ...
2
votes
1
answer
294
views
Detecting presence of music in ambient sound
I am hoping to create an application that would listen to ambient sound and detect if music is being played. It is not important to identify the music being played; just detecting that some music is ...
1
vote
2
answers
78
views
What are the mathematical tools that I can employ for automatic music composition?
I would like to do research on automatic music composition. At the lowest level , I would like to start from discrete frequency levels as states. Here I would like to know the mathematical tools I can ...
3
votes
0
answers
645
views
Questions about Bark scale filter bank implementation for bfcc's
I have a few questions regarding the implementation of Bark scale filter banks for the calculation of bark frequency cepstral coefficients.
1) Which filter shape is most commonly used and why?
...
1
vote
1
answer
446
views
Music/Speech Classification: How are frame based features used in a feature vector?
I'm a little confused on how frame based high dimensional features such as mfcc's and bfcc's are applied in the classification of musical instruments.
Are statistical measures of the features used e....
0
votes
2
answers
280
views
How to covert hummming into pitches?
I am not sure if this question suits this site, but I want to convert humming into notes or relative values to analyse melodies, word of "Signal Processing" looks suit for this. I am planning to use ...
0
votes
2
answers
681
views
What's the best method to extract vocals from music?
I want to achieve something like this .
I've researched it and a few papers mention the use of "descriptors" on the audio and use thresholds on the descriptors to determine singing sources. ...
1
vote
1
answer
667
views
Detection of regions of voice in music
I want to detect the regions of voice in a song. Currently, I am using the fact that the vocals in the song are recorded as center panned. So, I am removing all center panned audio from the song. ...
2
votes
2
answers
192
views
Generating Music Tones, How to handle when tones overlap? (16bit samples) [duplicate]
If i add the two tones then the result if two peaks are added together will be greater then the the sample max (2^15).
For the life of me I couldn't think of the right words to google. Think i have ...
3
votes
1
answer
373
views
How can frequency dispersion in a vibrating string be modelled using an LTI filter?
According to JOS on stiff-string synthesis, stiff strings (like on a piano) introduce inharmonicity (i.e. the harmonics of the tone are not all in tune) due to different frequency components of the ...
2
votes
1
answer
178
views
Guitar String Replucks
I'm analyzing guitar string plucks and sustains. I'm having good success with auto correlation using FFT's. Now I'd like to detect plucks while the string is still vibrating. Since I already am ...
4
votes
2
answers
2k
views
Detect song changes in audio stream
I have a stream of music that I'm reading(from a microphone, from an online streaming source or whatever). And I want to have a system that will detect when a song changes.
The question is, is this ...
4
votes
3
answers
369
views
Harmonic errors in acoustic instruments
If a note has a fundamental frequency of 100Hz, then its second harmonic is located at 200Hz and its tenth harmonic is located at 1000Hz. But for acoustic instruments, the harmonics will not occur at ...
15
votes
4
answers
17k
views
Most efficient way to extract frequency components of audio signal with near-human accuracy in real time
I'm trying to work out how (if possible) to extract the frequency components of an arbitrary audio sample (typically music) in an FFT-like manner, but in my research on the FFT algorithm, I'm learning ...