# Tagged Questions

The tag has no usage guidance.

3answers
199 views

### Slow Down Music Playing While Maintaining Frequency

Playing a piece of music audio at a slower speed would lower its pitch (frequency). Is there a tool and theory to slow down the song playing while keep the frequency the same? I suppose one can do ...
1answer
41 views

### One-bit depth audio

I have a music player which is only able to play sound with one a bit-depth of one. I can produce this by taking a song and simply boosting the signal $+100\textrm{ dB}$. Is there another approach ...
1answer
48 views

### Spectral plot shows more notes than there really should be

I was experimenting with sound analysis lately and from what I see when I plot spectral data of an audio file is that apart from notes that were actually picked there are some other notes with quite ...
1answer
105 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: ...
2answers
43 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 ...
1answer
38 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 ...
2answers
68 views

### Can anyone explain how does CZT (Chirp Z Transform) really help in 'spectral zooming'?

I found some explanation alongwith the Matlab Code here: http://prod.sandia.gov/techlib/access-control.cgi/2005/057084.pdf but I can't figure out, without a good example, why would this result in ...
3answers
39 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 ...
0answers
38 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 ...
1answer
54 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. ...
1answer
290 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 ...
1answer
89 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 ...
2answers
124 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 ...
2answers
118 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. ...
1answer
75 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 ...
0answers
21 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 ...
2answers
112 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. ...
2answers
96 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....
2answers
81 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 ...
2answers
115 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 ...
1answer
49 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 ...
1answer
81 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 ...
1answer
154 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 ...
1answer
694 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-...
1answer
31 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?
2answers
389 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 ...
1answer
105 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 ...
0answers
30 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 ...
0answers
191 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 ...
3answers
379 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 ...
1answer
731 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 ...
1answer
332 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: ...
2answers
86 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 ...
4answers
898 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 ...
1answer
127 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/...
2answers
245 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 ...
1answer
180 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 ...
4answers
135 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 ...
3answers
195 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 ...
3answers
563 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 ...
1answer
122 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 ...
2answers
59 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 ...
0answers
269 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? ...
1answer
188 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....
2answers
216 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 ...
2answers
237 views

### What's the best method to extract vocals from music?

I want to achieve something like this https://soundcloud.com/user7421656/sonicworx-isolate-preview . I've researched it and a few papers mention the use of "descriptors" on the audio and use ...
1answer
240 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. ...
2answers
91 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 ...
1answer
178 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 ...
1answer
110 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 ...