Changing System Volume
BlitzPlus Forums/BlitzPlus Programming/Changing System Volume
| ||
I recently needed to be able to control the Windows Volume and found the following solution. 1. Download a small utility call NirCmd 2. Place this in your game folder. SetVolumeLow$ = "nircmd setsysvolume 10000" SetVolumeMid$ = "nircmd setsysvolume 30000" SetVolumeMax$ = "nircmd setsysvolume 65536" ; To set volume ExecFile(SetVolumeLow$) Might be useful to someone. Regards, |
| ||
Personally I would be annoyed if an app or game started fudging with the volume of my system. But thanks. |
| ||
Point taken. I used this for a product I did which is sold to video arcades (Blitz+ running on XP Embedded). Regards, |
| ||
I used this for a product I did which is sold to video arcades (Blitz+ running on XP Embedded). That sounds interesting, any more info on it ? |
| ||
It's basically a 4 player UK ticket redemption machine. ie, a skill game whereby you're awarded tickets as prizes, which can then be traded for stuffed toys etc. It comprised of a single Pluto6 (www.heber.co.uk) to control the IO for the 4 players, which then communicated serially to 4 PC's in order to play the winning videos over RS232. The PC software was done in entirely in Blitz+. Regards, |
| ||
So Blitz CAN control physical devices! Would you mind describing how in a noob-friendly manner? |
| ||
Of course, via the serial port (portio lib) and a controller. I use Heber controllers - mainly as I have used them for years - although it would be simpler to use a PIC / AVR device. What are you intending to control? |
| ||
I was thinking of making an old PC into a robot with an SSC-32 serial servo controller. http://www.lynxmotion.com/Product.aspx?productID=395 I could then make my own sensor control system and RULE THE WORLD! Or maybe just have a neat robot to show off. |