VoiceAttack

Profiles, Commands and Plugins => Inline Functions => Topic started by: Exergist on May 07, 2018, 10:52:38 AM

Title: Audio Recorder & Playback profile
Post by: Exergist on May 07, 2018, 10:52:38 AM
Attached you will find a profile that gives you the ability to record and play .wav audio files through VoiceAttack (v1.7 and later). One of the applications for this functionality is an audio journal for documenting whatever you want with your voice (like making a "captain's log"). The profile leverages a number of C# inline functions, and most notable are the functions that perform the recording, playback, and file name retrieval. The profile is included in a .vax package to provide a default directory in your VA Apps folder for storing the audio files.

Detailed descriptions of each VA command action and inline function line are provided. Here is a breakdown of the four commands in the profile:

Special thanks goes to Pfeil for providing helpful suggestions for improving the command and inline function content and efficiency.

Please let me know if you run into any issues with the profile.

Support This and Future Efforts
If you find this profile useful, please consider buying me a cup of coffee. Thank you for your support!
 
(https://i.imgur.com/EbZUKEY.png) (https://www.buymeacoffee.com/exergist)

Cheers! :)
Title: Re: Audio Recorder & Playback profile
Post by: Gary on May 07, 2018, 12:13:34 PM
The next beta will have the captured audio feature (ui and proxy) I had mentioned that is currently embedded in VA (but not exposed).  I hope that doesn't step on your toes again.
Title: Re: Audio Recorder & Playback profile
Post by: Exergist on May 07, 2018, 12:28:53 PM
lol no that's fine, I'm always in favor of "native" solutions over add-ons :)

It will be interesting to try out. This profile basically opens a running channel for recording audio. I'm going to guess that the "captured audio" will be limited by the Recognition settings. I.e., if a user pauses during recording and then continues speaking perhaps all of the content won't be picked up?
Title: Re: Audio Recorder & Playback profile
Post by: Exergist on May 14, 2018, 11:43:46 AM
The new 'Captured Audio' feature in v1.7.0.5 is quite neat. A lot of the functionality I created in the recording Gary took care of in a slick way.

The recorder still has a place though since the 'Captured Audio' is only limited to phrases that VA interprets. So if you pause while speaking the captured audio may be broken up into pieces.

@Gary is there a way to have VA just open an audio channel for recording so the functionality in this Recorder could be made 100% native?
Title: Re: Audio Recorder & Playback profile
Post by: Andrew U.K. on March 31, 2020, 04:56:06 AM
This is exactly what I'm after. Obviously VA has been updated since this post but I have searched and can't find away of doing it.

I'm a complete newbie using VA and have just played about with it and used simple commands.

I would like to record my audio, and be able to replay the audio file. Like an audio memo.

I can find Speech to text that then reads back the text, but I'd just like to here what I said first hand.

Cheers
Andrew
Title: Re: Audio Recorder & Playback profile
Post by: Pfeil on March 31, 2020, 11:13:00 AM
...have you tried the profile attached to the first post?


The method Gary was referring to allows you to hear what the speech recognition engine heard while it was attempting recognition, however that means you have no real control over when the recording starts and stops (E.G. if you hesitate while speaking, and the speech recognition engine interprets that as the end of a sentence, the recording will cut off).
Title: Re: Audio Recorder & Playback profile
Post by: Andrew U.K. on April 01, 2020, 09:29:19 AM
Thanks for replying here and Discord.

I couldn't work out how to import a .vax profile.

Title: Re: Audio Recorder & Playback profile
Post by: Bailey on April 24, 2020, 01:32:29 AM
Having a good time with this profile. Thank you.
~Bailey