Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

Audio activated LED`s in PinballFX2.


rockyrocket

Recommended Posts

Hi, so I thought I would share my solution for getting some use out of our LED`s when in PinballFX2.

This is something I have been doing with hyperspin and have just got around to doing with PinballX, now its not perfect but is better than nothing.

Using LEDblinky and its audio monitoring mode you can use the sounds from your cab to generate a light show.

So to do this you need to install LEDblinky and its definately worth the small fee to register, anyway my install is in my hyperpin folder as I was already using it for an attract mode.

Anyway once installed you want to create a lwax file consisting of one frame with all your LED`s on and at full strength - mine is called sound.lwax.

Then play a track and enable the sound mode and pick your "sound.lwax2 file and set your sound output device then hit test.

You should now have a audio activated light show.

To get this to load with PinballFX2 I used Horseyhorsey`s script (the one that loads separate tables from the menu) and edited the PinballFX2.ahk to look like this...

#SingleInstance force	SetTitleMatchMode 2	DetectHiddenWindows On	;SendMode Input 	SetWorkingDir %A_ScriptDir% 	;#Include, Gdip.ahk	Table = %1%	;Variable from PinballX	;hyperini = %A_ScriptDir%\Settings.ini	;IniWrite, %1%, %hyperini%, LastLoad, table		WinWait, ahk_class PxWindowClass	WinActivate, ahk_class PxWindowClass	WinWaitActive, ahk_class PxWindowClass	Run, C:\HyperPin\LEDBlinky.exe audio.lwax sound.lwax		Gosub %table%    	Process, WaitClose, Pinball FX2.exe	Run, C:\HyperPin\LEDBlinky\LEDBlinky.exe 2	ExitApp	

Its worth noting that I deleted the lines that parse the PinFXKeys.ahk as I do not remap any so you may or may not need those lines.

Then its just a case of compiling the ahk into an exe and replacing the one in the pinballX scripts dir.

Your path to LEDblinky may differ and you may name your lwax file differently so be mindfull of that.

Thinking about this I guess you could do this for future pinball too, and for the LEDwiz enabled tables have those as a separate emulator?.

Anyway here is a vid of this running in my set up.

http://youtu.be/Oto478RjIm0

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...