Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1027041 - dm_rawSpeechRecognized

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (10179L) is out of date.

1  
svoid dm_rawSpeechRecognized(DynModule module, S text, S info, File audioFile) {
2  
  vmBus_send speechRecognized_raw(litmap(
3  
    +module, +info, +text, +audioFile));
4  
    
5  
  // honor global flag when there is a correlator
6  
  if (vmBus_anyTrue dontApplyRecognizedSpeech()) ret;
7  
  
8  
  if (dm_recognizedSpeechIsProbablyMyOwnUtterance(text)) ret;
9  
  
10  
  if (empty(text)) {
11  
    //katze_userSaid(info, "?");
12  
  } else swing {
13  
    temp dm_generalMap_tempPut('topInputInfo, info);
14  
    dm_setAIBarTextAndFire(text);
15  
  }
16  
}

download  show line numbers  debug dex   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027041
Snippet name: dm_rawSpeechRecognized
Eternal ID of this version: #1027041/6
Text MD5: 93488b87a4ec3a8c5509b0db469d40fe
Author: stefan
Category: javax / audio recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-23 14:09:53
Source code size: 519 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 44 / 95
Version history: 5 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1027041 & http://1027041.tinybrain.de