Author Topic: Open the audio Bible by voice via VoiceAttack  (Read 1435 times)

fernaton

  • Newbie
  • *
  • Posts: 1
Open the audio Bible by voice via VoiceAttack
« on: March 05, 2025, 03:26:37 AM »
Good afternoon.
Help us set up voiceattack for a blind person so that he can open the necessary chapters of the Bible in audio format with his voice. The files are arranged like this: 66 books of the Bible are 66 folders in Windows. There are 20 to 100 mp3 files in each folder, numbered from 1 to n. A person needs to open a specific chapter. For example. Open the Bible. Proverbs, Chapter 30 (or in another way: Open the Bible, Proverbs 30) and VoiceAttack launches the file C:\\bible\proverbs\30.mp3

I hope for your support. Thanks

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4855
  • RTFM
Re: Open the audio Bible by voice via VoiceAttack
« Reply #1 on: March 05, 2025, 03:47:20 AM »
What is your question, specifically?

With that file structure, what you're describing should be relatively simple. Dynamic command sections can be used to generate numeric ranges, and the resulting recognized number can be retrieved using either the "{TXTNUM:}" or "{CMDSEGMENT:}" tokens.

If you're playing the file externally, the "Run an Application" action can normally be used. VoiceAttack itself does have the "Play a Sound" action as well.


Press F1 while VoiceAttack has focus to open VoiceAttackHelp.pdf in your default PDF viewer, which contains information on VoiceAttack's features.

These topics may also be of use, in addition to the official documentation:
Control flow (If, Else, ElseIf, Loop, Jump) basics
Variables and tokens summed up

EricM

  • Newbie
  • *
  • Posts: 17
  • VA user since 2017
Re: Open the audio Bible by voice via VoiceAttack
« Reply #2 on: March 24, 2025, 10:49:04 PM »
I am interested in implementing this for you.

I need to understand the file tree better to solve for corner cases, e.g. Is it "firstJohn", "1st-John", "1_john", etc.

If you could share the audio files or where you got them, that would work.

If that isn't possible or if they cost money: You can get the whole file tree by running the following command in command prompt (without the quotes) "cd = \bible && tree /f"

Alternatively (if this doesn't work out), I googled "bible pc voice controlled for the blind" and google served this electronic Bible Audio player for kids and the blind
https://www.ebay.com/itm/256468428287