# Questions tagged [music]

The tag has no usage guidance.

106 questions
Filter by
Sorted by
Tagged with
383 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 ...
24 views

### Calculate the tension of a triad of notes

I'm trying to implement and calculate the tonal tension of a triad (and its harmonics) following the definition given here: https://pdfs.semanticscholar.org/f05e/56c9548fa18c64efeed248742e3a6afb0c02....
87 views

### How can I convert audio to a series of notes using pitch detection?

I have a good pitch detection system set up, and I would like to return a series of notes given an array of audio samples. My current approach is as follows: I have a moving window across the audio ...
43 views

### Numerical Examples of MUSIC Algorithm?

I'm trying to understand the MUSIC algorithm for a project and really running into issues understanding the math behind the calculations. I'm working with a system of 3 antennas and 64 measurements. ...
38 views

### How can i calculate a matrix of correlation?

I want to implement my own music algorithm detecting an angle of arrival of non-stationary signal and I need to make a matrix of correlation of this signal. I have problem because I don't know how to ...
248 views

### harmonic product spectrum on guitar string signals

i am trying to create a program that gets the fundamental frequency of the signal coming from a guitar string to identify what note is being played, is harmonic product spectrum the algorithm the most ...
38 views

### By using array antenna and a MUSIC algorithm, how many targets could be detected?

By using an array antenna which has N receivers, How many targets could be detected and classified when we use the MUSIC(MUltiple SIgnal Classification) algorithm?
613 views

### Distribution of energy in frequency bands

On my wav-file (music), I do a short-time Fourier transform (STFT). I have spectrum, which spans from $0\textrm{ Hz}$ to $f_s/2$. I took out the range between $1$ and $1000\textrm{ Hz}$, which I ...
4k views

### Librosa stft + istft - Understanding my output (which always seems too perfect) at varying window lengths

I've just started to use Python with Librosa for a DSP project I'll be working on. First thing I've been trying to do is determine my preferred parameters for the FFT window size, and hop-distance. ...
36 views

### covariance block of MUSIC Algorithm

I am implementing MUSIC algorithm in verilog and need to implement the blocks in following order input signal --> co-variance/correlation matrix--> EVD --> peak search But I am confused because ...
22 views

### extend parts in an existing audio file to make it sound longer without stretching the file

I'm looking for a way to extend certain parts of an exiting audio file to make these parts sound like the where played longer. And I dont want to change play speed or stretch the file. Lets say u have ...
126 views

### Spatial smoothing - 2D MUSIC [FMCW MIMO radar processing]

I'm using a 2D Music algorithm for the estimation of Range-Azimuth info in a ULA FMCW MIMO radar. The algorithm procedure is pretty simple as per Belfiori F., Application of 2D MUSIC Algorithm to ...
99 views

### How can I calculate the Number of bins per octave?

I am trying to calculate the Constant Q Transform for Monophonic audio using Python. The Python has the library to calculate the CQT , the default value of num_bins_per_octave is 12. How would one ...
198 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 ...
85 views

### How to get sensor covariance matrix from CSI values?

I try to use musicdoa() function in Matlab to estimate the direction of arrival of the paths of signals received by the receiver in a wireless link. The function ...
254 views

### Algorithm for identifying beat grid in music with non-constant tempo

Are there any algorithms for automatically fitting a beat grid to a song (tempo matching) when the song has a slowly changing tempo or BPM? The output would be a vector of onsets. Here's a picture ...
251 views

### Which parameters should I take care of while converting .au to .wav for Genre Classification

I am learning to develop Music Genre Classification models. I have a dataset in which files are in ".au" format, which I need to convert into ".wav". I used SoX (Sound eXchange) to convert it. With a ...
128 views

### Audio Quality Assessment [duplicate]

I need an algorithm to assess the quality of a given audio. The task, is considered to be no-reference. Can anyone help me whether there is any method for quality assessment of any given audio? edit1:...
64 views

### Digital vs Analog music [closed]

What are the different constraints for mastering audio content for either Vinyl or CD? By the way, I'd like to know if there're any papers or documents, with a comparison between different digital ...
66 views

### How many psychoacoustical critical bands are there?

I understand that the human ear works as a band-pass filter and I have doubt regarding the number of such bandpass filters in the filter bank. I came across these two possible explanations of how it ...
138 views

### Pitch detection to find music notes (from voice)

Hi signal processing community, currently I am searching a topic for my master thesis in computer science and since I am a very good singer I want to do something with music. I thought about a topic ...
753 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 ...
27 views

### Creating a music note filter (notch/peaking)

I'd like to make a filter which essentially masks the spectrum except for frequencies around music notes in the standard tempered scale, i.e. $frequency \in 110 \times 2^\frac{i}{12}, 10 \le i \le 64$,...
53 views

### Analyzing the quality of a music track

I have a library of music tracks that I use to DJ with. Its currently about 3000 tracks that I have gather over the years. Some of it consists of low quality rips that I want to get rid of. ...
280 views

### MUSIC algorithm for frequency and DOA estimation

$\lambda$ denotes the wavelength of the incident sinusoid, $\theta$ the direction of arrival (DOA), and x the distance between the sensor array elements. The signal is $x_{1}(n)....x_{k}(n)$ How do I ...
343 views

### How does it go about implementing pitch shifting without affecting the duration or speed on matlab? [closed]

I am creating a project that will record a sound sample from the world, for example, a bird's chirping. And then through pitch scaling, I could create different notes. I first tried to change the ...
644 views

### Is a recording of a chord merely a superposition of recordings of its constituent notes?

Is a recording of a chord merely a superposition of recordings of its constituent notes? Assuming the recording of its constituent notes are sufficiently clean.
426 views

### DOA estimation; Music (Multiple Signal Classification) algorithm

Why do we say that signal subspace and noise subspace are orthogonal in e.g. MUSIC algorithm? precisely, Suppose we have 2 sources (signals) which are WSS, in WGN in a uniform linear array. After ...
536 views

### Array Signal Processing: What are snapshots in Direction of Arrival estimation?

I do have an overview of basic radar signal processing chain [Data cube, 3 stages of FFT, Range, Range-Doppler map, coherent/non-coherent integration, coarse DoA etc.]. I am now trying to understand ...
109 views

### Implementing an offline guitar monophonic pitch detector

I am implementing an offline guitar monophonic pitch detector. I was wondering about the trade-off of the standard methods: Autocorrelation, HPS, Cepstrum, picking the peak from an STFT, the YIN ...
123 views

### Gain of resonating filters

I'm trying to make a music instrument based on a resonator with a high Q, such as Ableton's Corpus and Ableton's Resonator (I think the former is based on a simple 2nd order resonant filter while the ...
145 views

### Using NMF for guitar pitch detection using fixed pitch template

I've seen this guide showing a basic NMF of a spectrogram. My aim is detect guitar pitch from the decomposition. I want to do this by explicitly create a fixed template of pitches and construct the W ...
73 views

### Distinguish between chords and single notes

I am implementing a pitch detection system where I detect pitch in single notes (guitar). I recently found this library, that detects chords in an audio signal. When there are chords in the signal, ...
3k views

### How to build a program that gives you on the fly the chords of the song while listening to it?

I am trying to think how can I program a SW that can recognize Chords on the fly. since I know nothing about music, Can I assume that the chords are orthogonal and unique? I guess I can since it is ...
219 views

### Weird note structure on guitar audio waveform

Why do some times notes take these weird structures (circled below). That is a guitar monophonic audio waveform by the way (3 note melody). There are 3 notes played in this audio file. These are the ...
159 views

### Is the STFT a good solution to guitar monophonic pitch detection?

Let’s assume that the audio input will be: Guitar audio Monophonic audio Is the STFT overkill? Is it enough to produce a time-frequency plot and from there find the notes played at each instance? ...
87 views

### Fastest way to subtract known music tracks from live videogame audio stream

I want to isolate video game "action" sounds from the video game soundtrack. Given all ~20 songs, I'd like to filter them out from any live audio stream during gameplay. What is a fast and robust way ...
588 views

### Which transform most closely mimics the human auditory system?

The Fourier transform is commonly used for frequency analysis of sounds. However, it has some disadvantages when it comes to analyzing the human perception of sound. For example, its frequency bins ...
387 views

### Music recommendation by Cepstral coefficients

I have to make a music recommender system by taking signal features. I have decided to take MFCC coefficients as feature vector. So I extracted a dataset of 13 MFCC coefficients for each song. Here ...
832 views

### Method for calculating musical note-based magnitude spectrum

My specific question is: is there a standard way to do the kind of analysis I describe below? If not, is there a useful method that I have missed? I'm exploring ways to produce a spectral histogram ...
4k 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 ...
231 views

### Should I observe a signal multiple times for MUSIC algorithm?

In a paper Multiple emitter location and signal parameter estimation, the well-known MUSIC algorithm starts by calculating covariance (autocorrelation, whatever) matrix with: where overlines stand ...
643 views

### MUSIC algorithm derivation

Setup Suppose we have a complex $L\times 1$ signal $\mathbf{x}$ with two tones at (unknown) frequencies and phases defined as:  x_n = A_1 e^{j \omega_1n + \varphi_1} + A_2 e^{j \omega_2n + \...
258 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. ...
2k 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 ...
143 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. ...
97 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 ...
65 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 ...