The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [music]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
40 views

How To Find The Lowest Note of a Chord Being Played

The goal of my project is to find the lowest note in a signal coming from a guitar being played. I would like to do this programmatically and have sourced the equipment (raspberry pi, USB interface, ...
0
votes
1answer
57 views

How to compute key of a song?

I'm looking for a precise way to compute the key of a song. BPM would be cool too. Analog is ok. I tried to approach it from the DFT angle, but got stuck and can't really put a finger on what's the ...
0
votes
0answers
16 views

Identifying “elements” and sounds in music

Note: I have little experience with audio analysis, and no experience with signal processing, so bear with me as I try to ask a question using terms that I'm not too familiar with. As a DJ, the aim ...
1
vote
0answers
25 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....
0
votes
0answers
39 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 ...
2
votes
1answer
38 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 ...
2
votes
3answers
98 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
24 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 ...
1
vote
1answer
47 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
0answers
154 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
116 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 ...
2
votes
2answers
100 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 ...
-1
votes
2answers
144 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
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 ...
1
vote
1answer
74 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 ...
0
votes
0answers
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$,...
0
votes
3answers
274 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 ...
2
votes
2answers
146 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
1answer
57 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
314 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
359 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 ...
4
votes
1answer
278 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 ...
5
votes
4answers
646 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
464 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
589 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 ...
2
votes
0answers
128 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
148 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
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, ...
0
votes
1answer
115 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 ...
0
votes
2answers
228 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
169 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
88 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 ...
12
votes
1answer
624 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
399 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 ...
0
votes
3answers
642 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 ...
1
vote
2answers
893 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 ...
3
votes
2answers
259 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
vote
1answer
241 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 ...
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. ...
4
votes
2answers
683 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 + \...
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
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
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 ...
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
903 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
1answer
664 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 ...
2
votes
2answers
955 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 ...
0
votes
3answers
109 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 ...
1
vote
0answers
89 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
1answer
389 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. ...