Menu

speak out hit fields

Mike Nagel
2019-03-14
2021-10-23
1 2 > >> (Page 1 of 2)
  • Mike Nagel

    Mike Nagel - 2019-03-14

    Hello all,
    is it possible to speak out the hit field like "double eight" or "sixteen". Speaking playernames works fine.
    Mike

     
  • Sascha M.

    Sascha M. - 2019-03-18

    I'd like to see that feature too. Windows 10 contains a decent text to speech engine, it should be possible to use that, or use the same method as for the player names to use custom voice.
    Unfortunately, I can't code, but I did find this info:

    Microsoft speech engine

    If you use Microsoft Windows 10, it has a speech engine included.
    Install the module win32com, then you can use this code:

    import win32com.client as wincl
    speak = wincl.Dispatch("SAPI.SpVoice")
    speak.Speak("Hello World")

     

    Last edit: Sascha M. 2019-03-18
  • Cory Baumgart

    Cory Baumgart - 2020-02-02

    I succefully have added this feature to my fork (lpfreak1283) of pydarts!

     
  • Anonymous

    Anonymous - 2020-02-03

    Hi Cory, good job. I downloaded your Verison but I can't connect to a USB port for the Arduino. The Devicemanager doesent show up. I cannot calibrate. Do you have a solution? I remove the pydarts.cfg.

     
  • Cory Baumgart

    Cory Baumgart - 2020-02-03

    If you're trying to calibrate your board again, use the --forcecalibration in the command line when starting pydarts (ex: py pydarts.py --forcecalibration)

     
  • Anonymous

    Anonymous - 2020-02-03

    i got it to work. i had a few errors when i calibrate then pydarts closed with an error. Thats why in the pydarts.cfg 3 lines for the sound config wasnt commented out. sorry for my poor english. see the pictures below

     
  • Anonymous

    Anonymous - 2020-02-03

    see

     
  • Anonymous

    Anonymous - 2020-02-03

    see

     
  • Anonymous

    Anonymous - 2020-02-03

    Next error when i start the game it close with an error see the picture. displaymarkimages missed in the pydarts.cfg

     
  • Cory Baumgart

    Cory Baumgart - 2020-02-03

    yea i got the same errors. i pushed an updated code that corrected those problems i noticed it when i was running some tests after you downloaded! it will correct all the errors

     
  • Anonymous

    Anonymous - 2020-02-04

    i test it but when you first download it an theres no pydarts.cfg then the --forcecalibration command doesent work i cannot select an usb device it only starts with calibration but i cant calibrate because the usb device was not recognized. i must create a pydarts.cfg then the --forcecalibration works. When a game begins then pydarts crashed with the same error "config value displaymarkimages. No command line, no config found, no default. Abort". I put displaymarkimages:0 to the pydarts.cfg and then i can play.

     
  • Cory Baumgart

    Cory Baumgart - 2020-02-04

    Ok!! Let me know how you like the sounds! Its not using espeak or sapi voices. I created sound files, which anyone could alter to suit them!

     
  • Anonymous

    Anonymous - 2020-02-04

    i like the sounds. But when I throw the numbers from 1 to 20 I don't hear any sounds.

     
  • Cory Baumgart

    Cory Baumgart - 2020-02-04

    Which game are you playing?

     
  • Anonymous

    Anonymous - 2020-02-04

    Ho One and Kapital

     
  • Cory Baumgart

    Cory Baumgart - 2020-02-04

    Just updated and pushed new code for those two games! Try it out now!!

     
  • Anonymous

    Anonymous - 2020-02-04

    Thank you now it works :)

     
  • Mike Nagel

    Mike Nagel - 2020-02-07

    Hello Cory,
    nice to hear!
    I wanted to test, but it doesn't work on my raspberry. Is it depend on python 3?

     
  • Cory Baumgart

    Cory Baumgart - 2020-02-08

    it should work on python 2 and python 3. I have it running on windows 10 and also a raspberry pi 3 and it works perfectly. Make sure all the dependencies are installed correctly. If you have any screenshots of command line errors, please show them!

     
  • Mike Nagel

    Mike Nagel - 2020-02-10

    thank you, I will download once more and try today evening.

     
  • Mike Nagel

    Mike Nagel - 2020-02-23

    Hello Cory,
    sorry for my delay. The board is installed at a friend....
    I've tried out different versions, and all working great. But lpfreak1283-pydarts_120b5 does not. Starting is good, but when I'am start a Game like HoOne there is no sound when the dart hits. No beep and no speaking. I've started with --debuglevel=1
    Any idea

     
  • Mike Nagel

    Mike Nagel - 2020-03-12

    Hello again,
    if no one have an idea then let me know if it possible to debug a little bit more.
    If it possible to play a sound like "trippel twenty" with the command like the program do?

     
  • Cory Baumgart

    Cory Baumgart - 2020-03-12

    What I could use is the debug screen picture when you are trying to play a game, so get into ho_one and throw a dart and send a picture of the resulting debug screen. It will tell me if it played the file or not!

    You cannot play the sound from the comman line. You could open the files by themselves from the sounds folder in the pydarts directory though!

     
  • Anonymous

    Anonymous - 2020-03-13

    If you have VLC instaled on you computer, you can test sound by playing an audiofile like this :

    cd pydarts/sounds
    cvlc bullseye.ogg

    Note that since yesterday the source code include sounds for every hit.

    Cheers !

     

    Last edit: poilou 2020-03-13
  • iztok slanič

    iztok slanič - 2021-01-31

    Is it possible to speek out one hundreeeeed and all above 100 ???

    Hello! Id like to download complete pydarts with theese sounds! Please send me the link....
    Keep the gooooood work! Thanks!
    Iztok

     

    Last edit: iztok slanič 2021-02-06
1 2 > >> (Page 1 of 2)

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.