Time signature determination device, method, and recording medium
AssigneeCasio Computer Co., Ltd.
InventorJunichi Minamitaka
Life of this patent
Estimating the term…
Abstract
A device to determine a number of beats per bar from a music data includes at least one processor configured to calculate a weighted average beat level waveform from a first beat level waveform obtained for a first frequency band and a second beat level waveform obtained for a second frequency band; calculate autocorrelation on the weighted average beat level waveform by varying an amount of a shift interval for the autocorrelation; determine a plurality of the shift intervals at which correlation values of the autocorrelation are n highest, where n is a positive integer greater than or equal to 2; and determine the number of beats per bar based on the determined plurality of the shift intervals at which the correlation values of the autocorrelation are n highest.
Claims13
A method to be executed by at least one processor for determining a number of beats per bar from a music data provided to the at least one processor, the method comprising via the at least one processor:
- receiving the music data;
- deriving a first beat level waveform in accordance with a first power level waveform in a first frequency band from the music data and deriving a second beat level waveform in accordance with a second power level waveform in a second frequency band from the music data;
- calculating a weighted average beat level waveform from the first beat level waveform and the second beat level waveform;
- calculating autocorrelation on the weighted average beat level waveform by varying an amount of a shift interval for the autocorrelation;
- determining a plurality of the shift intervals at which correlation values of the autocorrelation are n highest, where n is a positive integer greater than or equal to 2;
- and
- determining the number of beats per bar based on the determined plurality of the shift intervals at which the correlation values of the autocorrelation are n highest.
A device for determining a number of beats per bar from a music data, comprising at least one processor, configured to perform the following:
- receiving the music data;
- deriving a first beat level waveform in accordance with a first power level waveform in a first frequency band from the music data and deriving a second beat level waveform in accordance with a second power level waveform in a second frequency band from the music data;
- calculating a weighted average beat level waveform from the first beat level waveform and the second beat level waveform;
- calculating autocorrelation on the weighted average beat level waveform by varying an amount of a shift interval for the autocorrelation;
- determining a plurality of the shift intervals at which correlation values of the autocorrelation are n highest, where n is a positive integer greater than or equal to 2;
- and
- determining the number of beats per bar based on the determined plurality of the shift intervals at which the correlation values of the autocorrelation are n highest.
A non-transitory computer readable storage medium storing a program executable by a computer, the program causing the computer to perform the following:
- receiving the music data;
- deriving a first beat level waveform in accordance with a first power level waveform in a first frequency band from the music data and deriving a second beat level waveform in accordance with a second power level waveform in a second frequency band from the music data;
- calculating a weighted average beat level waveform from the first beat level waveform and the second beat level waveform;
- calculating autocorrelation on the weighted average beat level waveform by varying an amount of a shift interval for the autocorrelation;
- determining a plurality of the shift intervals at which correlation values of the autocorrelation are n highest, where n is a positive integer greater than or equal to 2;
- and
- determining the number of beats per bar based on the determined plurality of the shift intervals at which the correlation values of the autocorrelation are n highest.
Dependencies are inferred from the claim text.