Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
66 views

Failing to detect clip in audio file

I am trying to find all the locations of a drum clip in a piece of audio. This drum clip is a digital sample that is repeated at intervals. I have had reasonable success at removing the clip ...
Baz's user avatar
  • 294
0 votes
1 answer
42 views

How to convey a music album that traverses the listener through ambisonic space arriving to each "SONG" (stereo/non spatial)/sound souce?

Im reframing how to present my next album to the listener......(Incoming Laymen) Imagine you're hearing stereo audio file "Song 1/Track" this POV is non spatial, .wav .mp3 audio file. ...
sHredVaN's user avatar
0 votes
1 answer
84 views

How can I use a constant Q transform to detect low frequencies without making the buffer size too large?

I am trying to write code to detect musical notes within a signal. I have been reading up on different methods for extracting frequency information out of a signal to determine which notes were played ...
tjwrona's user avatar
  • 327
0 votes
2 answers
371 views

confusion understanding/interpreting power spectrum of audio in MATLAB?

Please find attached snapshot. I am confused regarding power spectrum in MATLAB as according to google definition in attached snapshot"the distribution of the energy of a waveform among its ...
DSP_CS's user avatar
  • 1,952
1 vote
1 answer
474 views

DSP function used by musical distortion plugins

In short: what kind of mathematical function was applied to this sine WAVE? I am trying to implement my own distortion plugins. Amongst other things I have read several chapters of Will Pirkle's book (...
adrienbourgeois's user avatar
1 vote
1 answer
202 views

Relation of pitch to frequency?only with fundamental frequency or also with harmonics?

How is pitch related to frequency.? If there is a pitch for a fundamental frequency, will that pitch be same for harmonics?
DSP_CS's user avatar
  • 1,952
0 votes
1 answer
61 views

Is it correct to say that increasing the sampling frequency is same as compressing the duration of an audio signal in MATLAB?

I am trying to read and play with an audio signal in MATLAB. I have coded below clear [y,fs]=audioread('guitartune.wav'); sound(y,fs) This audio clip'guitartune....
jojo's user avatar
  • 83
1 vote
3 answers
122 views

Why mixing two sines sounds like a triangle?

I'm not sure where to post this question that is related to audio synthesis through programmation. More specifically, I'm using a library called synthplayer that implement basic synthesizer in Python. ...
pltrdy's user avatar
  • 111
1 vote
2 answers
538 views

Audio compressor delay/lookahead

I am making a real-time audio compressor/limiter. I am in little doubt about the delay. What is typical delay times for a compressors or limiters delay/lookahead time? Most other compressors I see don'...
Invariant's user avatar
  • 169
4 votes
3 answers
1k views

How to detect repeating music?

Suppose you have a music data-file (for example mp3) with a single audio stream which contains an audio time-series for 3 hours, but you want to find out if that audio file (maybe some compilation) ...
Alex's user avatar
  • 141
3 votes
3 answers
327 views

What is difference between frequency and pitch?in nutshell and simple words?

Although both are some how directly related Such that when one increases,the other one also increases I have read different Google results but couldn't understand . I want to know what is exact ...
DSP_CS's user avatar
  • 1,952
0 votes
1 answer
145 views

Is it possible for Matlab to read and decode an mp3 file?

I have run the following Matlab code and I got a signal as shown in the Figure below. ...
Cyan's user avatar
  • 31
3 votes
1 answer
144 views

Shazam / SoundHound Music Analysis - Recommendation for Reading

I need to explore some area around music frequency analysis. A good example is the way Shazam / SoundHound app works (mapping frequency domain, comparing, creating some vector map, handling noises and ...
hkrlys's user avatar
  • 141
-1 votes
3 answers
207 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 ...
user avatar
3 votes
3 answers
380 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 ...
nagasgura's user avatar
0 votes
1 answer
193 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 ...
cube's user avatar
  • 3
2 votes
0 answers
74 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 ...
user avatar
2 votes
1 answer
274 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 ...
h_r_kr_shn_n's user avatar
0 votes
1 answer
723 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 ...
Yihan Hu's user avatar
4 votes
1 answer
850 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 ...
R Tyler McLaughlin's user avatar
3 votes
0 answers
302 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 ...
Florent's user avatar
  • 754
1 vote
0 answers
128 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 ...
crypdick's user avatar
  • 111
2 votes
3 answers
1k 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 ...
user26004's user avatar
1 vote
2 answers
2k 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 ...
davidA's user avatar
  • 113
3 votes
3 answers
394 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 ...
sandepp's user avatar
  • 133
1 vote
1 answer
127 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 ...
William Entriken's user avatar
1 vote
1 answer
84 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 ...
Юрій Кравець's user avatar
1 vote
2 answers
1k 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 ...
user avatar
5 votes
2 answers
2k 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 taking ...
Evan Geng's user avatar
2 votes
2 answers
3k 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 ...
yun's user avatar
  • 209
1 vote
2 answers
168 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. ...
aralar's user avatar
  • 367
0 votes
0 answers
48 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 ...
Funkyguy's user avatar
  • 101
1 vote
4 answers
369 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. ...
norlesh's user avatar
  • 133
0 votes
2 answers
180 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 ...
Roman's user avatar
  • 105
0 votes
1 answer
488 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 ...
DanBennett's user avatar
0 votes
1 answer
592 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 ...
panthyon's user avatar
  • 1,143
2 votes
2 answers
4k 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 ...
concept3d's user avatar
  • 125
1 vote
3 answers
863 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 ...
auraham's user avatar
  • 109
5 votes
2 answers
5k 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 ...
Anna Dickinson's user avatar
9 votes
1 answer
2k 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: ...
haroba's user avatar
  • 203
2 votes
2 answers
122 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 ...
nmxprime's user avatar
  • 207
0 votes
2 answers
2k 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 ...
Baz's user avatar
  • 294
0 votes
4 answers
185 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 ...
Baz's user avatar
  • 294
2 votes
3 answers
1k 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 ...
user931563's user avatar
1 vote
3 answers
6k 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 ...
KillaKem's user avatar
  • 326
2 votes
1 answer
294 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 ...
Abhilash's user avatar
  • 121
1 vote
1 answer
667 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. ...
ffledgling's user avatar
3 votes
1 answer
373 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 ...
bryhoyt's user avatar
  • 1,453
4 votes
3 answers
369 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 ...
Baz's user avatar
  • 294
15 votes
4 answers
17k 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 ...
bryhoyt's user avatar
  • 1,453