Search found 639 matches

by jak64
Thu Oct 02, 2025 5:23 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Hello Dige
I replaced the HTML with yours, but it still doesn't work. I say "GO" and nothing appears (in my program), even though it worked with my initial program!
by jak64
Thu Oct 02, 2025 12:39 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Hello Dige,

I replaced the HTML with this one (yours), but it's not working!
Can you help me?

Html$ = ~"<!DOCTYPE html>\n" +
~"<html lang=fr>\n" +
~"<head><meta charset=utf-8><title>Voice To Text – Grammar Bias</title></head>\n" +
~"<body>\n" +
~"<div id=output></div>\n" +

~"<script>\n ...
by jak64
Thu Oct 02, 2025 11:24 am
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Thanks, Kurzer.
Indeed, I want to use it to voice-command a game (like saying "GO" or "STOP") and have a 1-second wait, which is already very good.
by jak64
Thu Oct 02, 2025 7:34 am
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Hello Infratec, I made the modification but it doesn't change anything, there is still a delay of almost 1 second between the word spoken and the display of this word
by jak64
Wed Oct 01, 2025 1:32 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Hello Infratec,
Can we reduce the time between the word being spoken and the moment it appears?

For example, I would like to say "GO" and have it appear almost instantly.
by jak64
Sun Sep 21, 2025 6:32 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

That's what I did.
Thanks, Infratec.
by jak64
Sun Sep 21, 2025 6:08 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

I don't know !!!
by jak64
Sun Sep 21, 2025 5:48 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Why? With this new html code, voice recognition works very well even if I don't speak for 1 minute, when I speak again, voice recognition still works, this is what I want and this was not the case with the old html code.
by jak64
Sun Sep 21, 2025 4:17 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Here's the program I adapted. Since I don't understand the speech recognition code, I haven't modified it; perhaps this program can be simplified.

This program allows you to record multiple-choice questions by speaking.

Of course, I'll then put all this into a database.

;
; https://www.purebasic ...
by jak64
Sun Sep 21, 2025 4:13 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Great Infratec, it's OK, voice recognition works even if you don't speak for a long time! Well done!
by jak64
Sun Sep 21, 2025 9:56 am
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Hello Infratec,
I've noticed that if I don't speak for a while, the voice recognition stops. How can I prevent this from happening (or, alternatively, how can I restart it?)

Thank you.
by jak64
Sun Sep 21, 2025 8:56 am
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Hello Infratec,
Thank you for your answers. I'll try to modify the code accordingly.
I don't have your incredible knowledge of what can be done with PureBasic (which I love), and it's very kind of you to take the time to help me.

I'm going to add seven buttons: one to ask the question, four for the ...
by jak64
Sat Sep 20, 2025 9:45 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

Of course !
Thank you infratec...

I would like to add a button so that the program only does speech recognition when I press this button and stops when I press it a second time. Where should I put this button in the code?
by jak64
Sat Sep 20, 2025 7:03 pm
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Speech recognition

Hello everyone,
I tested the Infratec program "WebViewGadget PermissionRequested callback"

https://www.purebasic.fr/english/viewtopic.php?p=628744&hilit=voice+recognition#p628744

I started my camera on the PC, launched the program, and spoke: What I said was displayed in the small window on the ...
by jak64
Mon Aug 11, 2025 11:40 am
Forum: Tricks 'n' Tips
Topic: Windows Media Player Control
Replies: 47
Views: 18227

Re: Windows Media Player Control

thank you dcr3