Hello, I used v1.0 to set up a raspberryPi3 with my Löwen-Machine. It is
working fine, but I would like to set the software to only play the tripple
sound on 17, 18, 19, 20 or if possible even with different sounds, but only
for those four segments. I appreciate your answers.
It is not impossible to do what you are asking, but each game that is loaded into pyDarts has it's own code as far as what sounds to play, and when to play them.
Let's take crickt for example. the program reads the code for what numbers should register a dart hit sound. This is accomplished through reading what the headers are showing (ex: standard cricket numbers [20-bull] or random headers [7,15,12,20,13,bull]). The code is programed to compare the segment hit with what is in the headers. If it matches, we get a dart hit sound! If it doesn't match, no sound is played!
For games where the segment hit doesn't matter, such as 301, the code simply just plays a sound no matter which segment is hit.
If your request is for a specific game, I can help you modify the code. If you are looking for all games to register just 17-20, it will be more coding. Let me know!
~Cory
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I used v1.0 to set up a raspberryPi3 with my Löwen-Machine. It is
working fine, but I would like to set the software to only play the tripple
sound on 17, 18, 19, 20 or if possible even with different sounds, but only
for those four segments. I appreciate your answers.
Greetings
Kevin
Hi Kevin!
It is not impossible to do what you are asking, but each game that is loaded into pyDarts has it's own code as far as what sounds to play, and when to play them.
Let's take crickt for example. the program reads the code for what numbers should register a dart hit sound. This is accomplished through reading what the headers are showing (ex: standard cricket numbers [20-bull] or random headers [7,15,12,20,13,bull]). The code is programed to compare the segment hit with what is in the headers. If it matches, we get a dart hit sound! If it doesn't match, no sound is played!
For games where the segment hit doesn't matter, such as 301, the code simply just plays a sound no matter which segment is hit.
If your request is for a specific game, I can help you modify the code. If you are looking for all games to register just 17-20, it will be more coding. Let me know!
~Cory