Questions tagged [onset-detection]

For questions about onset detection of audio signals. Use this tag in combination with a tag that is applicable to the; library, platform, or programming language, for which onset detection is being utilized. If your question applies to onset detection of audio more generally, use this tag only.

15 questions
33
votes
6 answers

Note onset detection

I am developing a system as an aid to musicians performing transcription. The aim is to perform automatic music transcription (it does not have to be perfect, as the user will correct glitches / mistakes later) on a single instrument monophonic…
Alan
  • 476
  • 2
  • 6
  • 10
10
votes
2 answers

Recorded audio of one note produces multiple onset times

I am using the Librosa library for pitch and onset detection. Specifically, I am using onset_detect and piptrack. This is my code: def detect_pitch(y, sr, onset_offset=5, fmin=75, fmax=1400): y = highpass_filter(y, sr) onset_frames =…
pavlos163
  • 2,730
  • 4
  • 38
  • 82
4
votes
3 answers

Beat Detection from Note Onsets?

How do you determine which Note Onsets are beats? Currently, what I have is sort of like a 'brute force' method using what is called 'pulse-trains'. Basically, the idea is, you generate pulse-trains from a minimum tempo to a maximum tempo. These…
dspboy
  • 91
  • 2
3
votes
1 answer

Find timestamps of notes played in wav file

Let's say we have a wav file with some guitar music recorded. The sound is very clean, no extra sounds only guitar itself and possibly metronome ticks. What would be the best approach to find a timestamp of each note (or a chord) played in Python? I…
Joe
  • 85
  • 5
2
votes
1 answer

Remove offset in Sound Beeps Detection by librosa.onset.detect in Python

I am working on a sound to detect when the sound beep starts using librosa in Python. When I plot the detected time, it has some offset as shown with a red line in the figure. This offset changes if the interval between the beeps changes. Since I…
Masood Salik
  • 119
  • 1
  • 1
  • 10
2
votes
2 answers

Onset to Beat Detection?

How do you determine which onsets are beats? I am using Spectral Flux for Note Onset Detection and a Running Mean for peak-picking/thresholding. I am just working with the guitar instrument so the presence of percussions may not help with this. Any…
user488792
  • 1,943
  • 7
  • 31
  • 38
2
votes
4 answers

Music transcription

I'm working on a polyphonic music transcription project. I have read some papers and gone through articles which explains similar tasks. I'am very confused about many aspects of the problem domain. Hope someone will be able to help me. So far I…
Brown
  • 21
  • 3
2
votes
0 answers

Note onset detection from audio

Possible Duplicate: Note onset detection I need a note onset detector quite robust for my thesis work in Java/Matlab. From an audio file I extract the loudness and some other (kind of) features which I need, but the onset problem is still a hard…
Davide
  • 173
  • 1
  • 2
  • 9
1
vote
3 answers

Note Onset Detection using Spectral Difference

Im fairly new to onset detection. I read some papers about it and know that when working only with the time-domain, it is possible that there will be a large number of false-positives/negatives, and that it is generally advisable to work with either…
user488792
  • 1,943
  • 7
  • 31
  • 38
1
vote
1 answer

Questions about Filters for Note Onset Detection?

Forgive me if I may come as ignorant but I would like to ask some questions regarding using Filter Algorithms for Note Onset Detection. Is 'Detection Function' the same as using Filters on the audio signal? Or generally, what is the difference…
user488792
  • 1,943
  • 7
  • 31
  • 38
1
vote
2 answers

Determining Note Durations based on Onset Locations

I have a question regarding how to determine the Duration of notes given their Onset Locations. So for example, I have an array of amplitude values (containing short) and another array of the same size, that contains a 1 if a note onset is detected,…
user488792
  • 1,943
  • 7
  • 31
  • 38
1
vote
1 answer

Note Onset Detection Dynamic Thresholding

So I am working on Note Onset Detection. I have implemented the method here: Note onset detection However, I am finding some difficulty or problems regarding the 'static' nature of the method. What I am looking for is how to make the thresholding…
user488792
  • 1,943
  • 7
  • 31
  • 38
0
votes
0 answers

BPM detection options on iOS

I have scoured the net for resources on BPM detection for iOS, tried to implement various techniques and link to various libraries etc. but I just have issues either with build errors or with bpm detection not working. What are the viable options…
some_id
  • 29,466
  • 62
  • 182
  • 304
0
votes
0 answers

Wrong onset detection when using MATLAB GUI

I'm trying to create a GUI on MATLAB that will automatically transcribe piano music when a .wav file is given as an input. Before using GUI I created the whole algorithm using MATLAB and it worked just fine. Now when I create the GUI and transfer…
user2482542
  • 361
  • 2
  • 14
  • 26
0
votes
3 answers

adding "audible ticks" to a waveform for onset detection debugging

I'm playing around with some onset/beat detection algorithms on my own. My input is a .wav file and my output is a .wav file; I have access to the entire waveform in chunks of float[] arrays. I'm having trouble coming up with a good way to debug and…
psa
  • 55
  • 3