News for hackers. Stuff that matters.
Re:Machine Learning for Drummers by flashman on Monday July 30, 2018 @08:53PM (#17649683)
Could I use something like this to identify which of two or three people is speaking in an audio clip? Assume I can label several samples of each person's speech, then present an unlabeled sample for classification.
Re:Machine Learning for Drummers by psobot on Tuesday July 31, 2018 @10:10AM (#17653243)
Yes! While the technique I used in this post is pretty simplistic, you could use a similar method to solve what's generically known as the [speaker recognition problem](https://en.wikipedia.org/wiki/Speaker_recognition). That said, this is an open problem within audio research, and there are solutions much more complex than what I have here.

An example of one open source speaker recognition project is [bob.bio.spear](https://pypi.org/project/bob.bio.spear/), which I haven't tried, but looks promising.

Re:Machine Learning for Drummers by RileyJames on Tuesday July 31, 2018 @05:19AM (#17651686)
I’m looking for something that can do this as well. Anything out already?
Re:Machine Learning for Drummers by flashman on Tuesday July 31, 2018 @09:47AM (#17653050)
I had a go of it by replacing the drum samples with voice samples (both 1-2 seconds and 3-5 seconds), then removing the features concerned with length and volume. Fiddled with the number of sub-sections per sample, and some of the random forest settings, but never consistently got higher than 77% accuracy between the four speakers. Maybe it would do better with two speakers.