Code Monkey home page Code Monkey logo

Comments (5)

Adirockzz95 avatar Adirockzz95 commented on August 28, 2024

Unfortunately, Piwho/MARF cannot recognize the word/speech. One thing you could do is, train the Speaker1 with wavs of only "Whoosh", Speaker2 with only "beep" and so on. So, for example, if Piwho recognizes Speaker1 then the sound would be "Whoosh".

from piwho.

activityworkshop avatar activityworkshop commented on August 28, 2024

Thanks for the quick feedback. Yeah, I can try that, but I'm guessing that the features it's using to recognize a speaker will be roughly the same for the same speaker, and not different enough for the different sounds. I'm guessing that it would need different features to work with.

I'll try out what you suggest, and start following the MARF bits which you use. It sounds like you're just taking the MARF code as it is, and not changing it, right? It seems that the MARF code isn't really being updated any more on sourceforge so you may understand it better than anyone!

from piwho.

Adirockzz95 avatar Adirockzz95 commented on August 28, 2024

The 'Features' are different methods to process the audio files. This features apply to the entire model and not to the each speaker. You can try various combinations of feature options to get optimal results.

I did change the code a little bit. I exposed the speaker distances to public API (Java) which was not there in original MARF. Piwho function 'get_speaker_scores()' prints this distances on screen.

from piwho.

activityworkshop avatar activityworkshop commented on August 28, 2024

Ok, thanks a lot. I'll take a closer look :) I also noticed you're using marf 0.3.0.5, rather than the "latest" 0.3.0.6. I assume that's deliberate too.

from piwho.

activityworkshop avatar activityworkshop commented on August 28, 2024

Sorry to re-open this, but I have another question which I think is very much related.
In the recognition phase, have I understood correctly that the recognition works on a pre-recorded test file? That means, there's no possibility for it to work directly on microphone input, in sort of "real time"?

So after the training has finished, the method would be: start recording, speak into the microphone, stop recording, then call piwho to use the saved file, is that right?

What I'd really like to do is have it react more dynamically as I'm speaking into the microphone, so it doesn't know when I'm going to start speaking or stop speaking. But it seems that's not something which MARF can support right now, correct?

from piwho.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.