Questions tagged [music]

The tag has no usage guidance.

107 questions
Filter by
Sorted by
Tagged with
456 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 ...
945 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 ...
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. ...
389 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 ...
31 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 ...
261 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. ...
281 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....
134 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 ...
239 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 ...
76 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 ...
206 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 ...
438 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 ...
1k 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-...
49 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?
2k 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 ...
708 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 ...
38 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 ...
586 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 ...
716 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 ...
2k 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 ...
1k 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: ...
104 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 ...
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 ...
148 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/...
712 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 ...
779 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 ...
158 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 ...
257 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 ...
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 ...
167 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 ...
70 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 ...
493 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? ...
383 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....
253 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 ...
271 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 ...
556 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. ...
133 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 ...
283 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 ...
151 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 ...
1k 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 ...
317 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 ...
13k 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 ...
7k views

Does taking the Hilbert transform extract the envelope of audio signals?

I want to extract the envelope of music signals with a sample rate of 44.1kHz. I used the MATLAB command: abs(hilbert(mysignals)), but the resulting signal is ...
409 views

Pitch detection algorithm for minsample size

I am looking for a pitch detection algorithm that uses the least number of samples. I don't care about the processing time. I hope to use this on audio signals. I have tried using the one at the ...
274 views

Tool for Harmonic Analysis & Synthesis [closed]

I've been using a program for identifying harmonics for a wave after doing a fourier analysis. http://www.phon.ucl.ac.uk/resource/sfs/esynth.htm I would like to be able to tweak some of the ...
1k views

Sound synthesis effects for natural sounds

I´m currently working on an accordion synthesizer and I would like to make it sound as natural as possible. I really like how the following wave sounds: https://dl.dropbox.com/u/20437903/onda%...
518 views

What are the basic categories of operations performed on audio signals to create interesting sounds?

I don't know if this question will make sense as I'm very new to dsp. In my limited foray into audio dsp I've come across: Frequency Modulation Amplitude Modulation Additive Synthesis Subtractive ...
278 views

Normalizing loudness level of a set of songs

I like to listen to instrumental music while trying to sleep. So, I've selected 20 songs from my music archive to listen to when I go to bed. The problem is that the loudness levels of the songs ...