Random, choice, 1, % listA.maxIndex() random between 1 and the total item count. List2= zFarewell1.wav, zFarewell2.wav, zFarewell3.wav, zFarewell4.wav List1= aGreeting1.wav, aGreeting2.wav, aGreeting3.wav In fact, this is the first and it became the final version of the code. I used lists to pick one of my recordings at random each time I use the hotkey. That's right, I used a robot to sound less robotic. wav files using Audacity and cleaning up the audio with noise reduction. This would be good for trolling in multiplayer games (classic Duke Nukem soundboard stuff) or in my case for saying common things while I work as a helpdesk technician "Thanks for calling, how may I assist you today?" I like to sound less robotic to the people who monitor my calls for quality assurance purposes, so I produced a few versions of each phrase I wanted to use and exported them as. My task was to have a series of shortcuts like Windows + F1 to play a sound through a microphone as though I said it. It has less to do with AutoHotkey specifically and more to do with using Windows 10 and the Virtual Audio Cable driver to simplify what other people accomplished with VLC commands and mplayer and libraries and real, difficult coding stuff. This solution is simple and wonderful (and complete) for anyone hoping to easily make a soundboard-type script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |