Questions tagged [music]

The tag has no usage guidance.

0
votes
0answers
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 ...
0
votes
3answers
240 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 ...
1
vote
1answer
30 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?
0
votes
3answers
587 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 ...
2
votes
3answers
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. ...
2
votes
1answer
32 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 ...
0
votes
2answers
376 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 ...
2
votes
3answers
65 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 ...
0
votes
1answer
20 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 ...
0
votes
0answers
89 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 ...
0
votes
0answers
74 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 ...
0
votes
1answer
189 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 ...
2
votes
2answers
78 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 ...
4
votes
1answer
233 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 ...
3
votes
2answers
250 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 ...
-1
votes
2answers
111 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:...
2
votes
0answers
63 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 ...
1
vote
1answer
61 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 ...
2
votes
2answers
135 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 ...
0
votes
2answers
724 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
0answers
26 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$,...
0
votes
1answer
49 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. ...
0
votes
1answer
251 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 ...
0
votes
1answer
328 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 ...
5
votes
4answers
643 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.
0
votes
1answer
385 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 ...
2
votes
1answer
495 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 ...
0
votes
1answer
108 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 ...
1
vote
0answers
112 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 ...
0
votes
1answer
139 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 ...
2
votes
0answers
71 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, ...
3
votes
3answers
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 ...
0
votes
2answers
211 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 ...
0
votes
2answers
152 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? ...
1
vote
0answers
86 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 ...
11
votes
1answer
556 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 ...
-1
votes
2answers
374 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 ...
1
vote
2answers
766 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 ...
1
vote
3answers
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 ...
1
vote
1answer
220 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 ...
4
votes
2answers
613 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 + \...
1
vote
4answers
249 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. ...
10
votes
3answers
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 ...
1
vote
2answers
141 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
vote
1answer
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 ...
0
votes
1answer
64 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 ...
0
votes
2answers
261 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 ...
2
votes
3answers
251 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
1answer
2k 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
2answers
809 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 ...