I was thinking it would be neat to extract single duty cycles from samples. Say for example:
1) Sample an organ from your old casio keyboard
2) Select sample and click "Extract single duty"
3) A looped short waveform is extracted
At first, my idea was to use some data mining to find repeating patterns, and select the iteration that is closest to the 'avarage'.
Then again, a more simple and precise approach would probably be to use FFT. Find the avarage amplitude of all harmonics in the full sample, and generate a single duty cycle from that. Then you could even simplify a modulating waveform into a relevant single duty cycle, and simple sounds should probably provide perfect extractions as well.
However, I'm not math genious. Anyone keen on doing, or helping out?
Got a suggestion from Saga_Musix it should be a better idea to just find the fundamental frequency and then mix all these cycles of the sample. This shouldn't be too difficult to script?
Edited by joule, 24 February 2017 - 13:39.