Sorting sounds by frequency content
Hi, i'm currently working on a patch that automatically samples the surroundings, then builds a rhythm out of them. i would like it to sort the recorded sounds into categories based on their frequency content, so as to assign them more appropriate rhythms (e.g. kick drum rhythms to bassy sounds, hihat rhythms to trebly sounds etc). What would be the simplest way of doing this? Could i split the signal into three with a band-pass filter on each at the three frequencies and see which of them has the loudest average volume?
After searching the forum ive found something about a fiddle~ object but it seems only to be for macs.
Cheers,
Rob
check out pitch~, tho i dont know if it's only for mac's or not.
a series of band pass filters could work too if you're looking for simply general ranges.
Download link for the Windows version of pitch~
Check out the MSP tutorials on FFT analysis.
You could put the samples through an FFT to see what their spectral content looks like, and categorize them roughly as low, mid, or high frequency sounds. You could also do a much more detailed categorization, if you wanted.