I have created a utility to remote control the vOICe
The program is open source and you can get it at the following link.
I am including the program’s manual below.
vOICeCmd is a utility that allows remote control of the The vOICe from the commandline. The vOICe uses windows messages as a remote control mechanism. This approach though easy-to-use cannot be used by the average user primarily because it involves a lot of programming. This utility is a wrapper around that functionality. The entire interface of the vOICe can be accessed using simple to use commandline commands.
All that you need to do to use this interface is to ensure that the vOICe is running. Once that is the case, you can pass one command at a time to the vOICe. For example, to increase the frame rate by four times, you would issue the command:
similarly, to mute the vOICe, you would issue the command
no special installation is required. Copy the vOICeCmd executable to the folder where the vOICe executable resides.
- Only one command at a time can be specified on the commandline using vOICeCmd. This is deliberate. It is easy to implement the passing of multiple commands. However, in my experience, the user needs some time to assimilate any change that takes place in the output of the vOICe. So, as of now, I have decided to stick to the single command approach.
- It is also important that the vOICe is started manually. I have decided not to start the vOICe from vOICeCmd. This is because I have no easy way of telling whether the user has enough permissions to run the vOICe.
Batch file error codes
If executing vOICeCmd from a batch file, you can use the errorlevel construct to trap the results from vOICeCmd.
|1||an invalid command was specified|
|2||no command was specified on the commandline|
|3||the vOICe is not running|
This programme would not have been possible without the sample code an easy to follow instructions provided on the seeing with sound website by Doctor Peter BL Meijer
I would also like to thank members of the program-l list
in particular, Mark Long for helping me with my Visual C++ questions.
You can contact me through the seeing with sound mailing list or through this blog.
= Links of interest =
Direct link to the page about remote controling the vOICe including a list of commands
Leave a Reply