The Tournament Director Forums

Main => Help Me => Topic started by: Dweller on October 02, 2009, 11:41:32 AM

Title: Sound Formula For blinds Going Up
Post by: Dweller on October 02, 2009, 11:41:32 AM
Hi, I am trying to create a formula for when the blinds goes up it plays the appropriate wav file. I created the formula.

"When a level starts roundNum 2 isRound 1,  play blinds50-100.wav"  

"When a level starts roundNum 3 isRound 1, play blinds100-200.wav".

My problem is that it only plays the wav file from round two. I have also noticed that the formulas are changing, when I go back to check them both rounds are showing roundNum 3 isRound 1

Thanks
Title: Re: Sound Formula For blinds Going Up
Post by: Corey Cooper on October 05, 2009, 09:43:42 AM
Can you post the actual formula?
Title: Re: Sound Formula For blinds Going Up
Post by: Dweller on October 05, 2009, 03:00:33 PM
It's ok, I eventually got it working after a few hours of playing about with it.

Title: Re: Sound Formula For blinds Going Up
Post by: bacchys on August 15, 2012, 04:52:25 PM
Could you post it for those of us who haven't figured it out?
Title: Re: Sound Formula For blinds Going Up
Post by: Kerry George DeVore on August 16, 2012, 10:50:10 AM
Yes i would like to see it too.
Title: Re: Sound Formula For blinds Going Up
Post by: Magic_fubu on August 16, 2012, 12:22:33 PM
Note: The following will be fully accurate if you're running TD3.

1. Go to the events tab.
2. Click New event.
3. Create a new event from scratch
4. Enter a description that's easy for you (When the second level begins, for example)
5. Trigger: A level starts
6. Conditions: roundNum=2 && isRound=1
7. Click on New Action.
8. Select Play Sound, and choose the wav file from the drop down box.

If the wav file isn't part of the sound library for TD, you'll have to add it first.

Testing via the dialogue box, I wasn't able to get the test to come back TRUE... however, I ran a mock tournament, and the test worked. If you have further issues, reply back and I'll see what I can do.
Title: Re: Sound Formula For blinds Going Up
Post by: Stuart Murray on August 16, 2012, 04:37:53 PM
or alternatively, if you have version 3:

Blinds
Trigger: A Level Starts
Conditions: isRound and (smallBlind = 150) and (bigBlind = 300) and (state = 2) and (roundNum > 1)
Actions: Play Sound; 150-300.wav

Antes
Trigger: The Clock Ticks
Conditions: isRound and (ante = 100) and (secondsElapsed = 6) and (state = 2) and (roundNum > 1)
Actions: Play Sound; A100.wav

That avoids the events file being dependant on the structure to announce the correct blinds, and allows different structures to be used with the same events file.

You can find the full events template for this here: http://www.thetournamentdirector.net/forums/index.php?topic=2293.0

Regards
Stuart
Title: Re: Sound Formula For blinds Going Up
Post by: bacchys on September 01, 2012, 07:33:30 PM
Thank you!
Title: Re: Sound Formula For blinds Going Up
Post by: jodybingo on September 02, 2012, 11:26:28 AM
I just finished programming sounds for some of my tournaments and made an embarrassing mistake. I was away from my desk when the blinds went up on the fifth level. I had a rather false sense of security when I saw the first 4 levels went well until....Level 5 was programmed with "The clock ticks" instead of "A level starts". After 5 seconds it was just pure noise and I ran faster than I have in the last 10 years.
I then went over the rest of my events and had 2 others check them one at a time after me to ensure it didn't happen again.