0

Given an audio recording (monophonic & mono), having extracted the melody with an algorithm such as Melodia, I would like to find all segments of this pitch series where the frequency is nearly stable (the maximum deviation from the mean frequency should be smaller than a given range R for a duration of at least N milliseconds). Having identified these segments, I would like to get the mean frequency of each such segment.

There is no need to perform any further calculations with these pitches (the goal is not to find the scale or to generate musical notation).

Is there already a pre-built algorithm for this purpose? If there isn't, how would you write such an algorithm (in any programming language, using any libraries)?

Thank you very much!

Peter
  • 715
  • 1
  • 12
  • 23
  • Could you clarify: you already have the extracted melody and you want to just generate some sort of metadata file that says, in order of occurance, the frequency avg of the segment and the length of the segment? – WoodyDev Jul 18 '18 at 09:52
  • Yes, exactly. I have already extracted the melody and I only need the metadata you've mentioned. – Peter Jul 19 '18 at 10:38

0 Answers0