Giter Club home page Giter Club logo

Comments (6)

Ecksters avatar Ecksters commented on June 7, 2024

Relevant code used in the VRU communication process:

s32 osVoiceInit(OSMesgQueue *siMessageQ, OSVoiceHandle *hd, int channel);
typedef struct {
   OSMesgQueue  *__mq;      /* SI message queue */
   int          __channel;  /* Controller port No. */
   s32          __mode; /* Used within the OS */
   u8           cmd_status; /* Command status */
} OSVoiceHandle;
s32 osVoiceSetWord(OSVoiceHandle *hd, u8 *word);
s32 osVoiceClearDictionary(OSVoiceHandle *hd, us words);
s32 osVoiceSetWord(OSVoiceHandle *hd, u8 *word);
s32 osVoiceStartReadData(OSVoiceHandle *hd);
s32 osVoiceGetReadData(OSVoiceHandle *hd, OSVoiceData *result);
typedef struct {
   u16  warning;        /* Warning */
   u16  answer_num; /* Candidate number (0~5) */
   u16  voice_level;    /* Voice input level */
   u16  voice_sn;   /* Relative voice level */
   u16  voice_time; /* Voice input time */
   u16  answer[5];  /* Candidate word number */
   u16  distance[5];    /* Distance value */
} OSVoiceData;
s32 osVoiceStopReadData(OSVoiceHandle *hd);
 //Registered Words:
u8 *registration_word[] =   {
"yakiniku",
"mario",
     .
     .
     .
"pikachu"

And a flowchart of how it works:
Flowchart

Source

from mupen64plus-core.

loganmc10 avatar loganmc10 commented on June 7, 2024

#873

from mupen64plus-core.

Hasster1 avatar Hasster1 commented on June 7, 2024

Shouldn't this be closed?

from mupen64plus-core.

Ecksters avatar Ecksters commented on June 7, 2024

@Hasster1 still no way to emulate the VRU, although there was some progress made on it a year or two back, there was a working prototype using a PC mic, I can try to track that down

from mupen64plus-core.

loganmc10 avatar loganmc10 commented on June 7, 2024

This was completed in #873

It is available in simple64: https://simple64.github.io

It's still up to the input plugin to support this, and AFAIK only simple64's input plugin does, but mupen64plus-core already supports the VRU as much as it can

from mupen64plus-core.

Ecksters avatar Ecksters commented on June 7, 2024

Oh, very cool, hadn't realized anyone had officially implemented it with a GUI yet, sounds like this can be closed then.

from mupen64plus-core.

Related Issues (20)

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.