https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • f

    famous-alarm-22563

    12/04/2022, 11:45 AM
    Yeah, I can't use a string to specify color
  • f

    famous-alarm-22563

    12/04/2022, 11:45 AM
    I get String should be Null
  • b

    bright-gpu-74537

    12/04/2022, 11:46 AM
    oh, your right.. me too... :/
  • b

    bright-gpu-74537

    12/04/2022, 11:46 AM
    ah, sorry, i was thinking of
    .color
    , not
    .customStyle.color
  • b

    bright-gpu-74537

    12/04/2022, 11:46 AM
    and actually,
    .color
    isnt available on haxeui-flixel as it conflicts
  • f

    famous-alarm-22563

    12/04/2022, 11:46 AM
    makes sense
  • f

    famous-alarm-22563

    12/04/2022, 11:47 AM
    let me take out the font stuff to see if it makes a difference
  • b

    bright-gpu-74537

    12/04/2022, 11:48 AM
    font size seems fine this end
  • f

    famous-alarm-22563

    12/04/2022, 11:48 AM
    It seems like I am getting the same results
  • f

    famous-alarm-22563

    12/04/2022, 11:49 AM
    aka: still failing
  • f

    famous-alarm-22563

    12/04/2022, 11:49 AM
    my label has a \n in it
  • f

    famous-alarm-22563

    12/04/2022, 11:49 AM
    Does that matter?
  • b

    bright-gpu-74537

    12/04/2022, 11:49 AM
    weird, is you project zippable, or better yet a minimal repro i can run this end?
  • f

    famous-alarm-22563

    12/04/2022, 11:49 AM
    wait...
  • f

    famous-alarm-22563

    12/04/2022, 11:50 AM
    I should probably run ScreenCenter every time I change the text
  • f

    famous-alarm-22563

    12/04/2022, 11:50 AM
    let me see if its just an issue on my part
  • f

    famous-alarm-22563

    12/04/2022, 11:51 AM
    Yeah, it was a user error. It seems like your solution is sound 🙂
  • f

    fierce-soccer-8550

    12/04/2022, 1:38 PM
    Flite and Kaldi are opensource TTS engines written in C++ that would probably be what you would want to look at for tts. I have played with Flite a few times over the years, its a nice one and not complicated to use.
  • f

    fierce-soccer-8550

    12/04/2022, 1:43 PM
    MaryTTS is written in Java, eSpeak is written in C, FreeTTS is written in Java, I have tinkered with those before.... I have not played with Voice Builder which is in javascript yet, but plan on it at some point.
  • f

    full-journalist-82607

    12/04/2022, 1:47 PM
    What do you want it for ? I have actually tons of old speechsynthesis code. ( haxe to Html5, openfl android, maybe be even openfl ios( not sure never tested I think) , terminal commands for linux ( and different speech synthesis) etc ) I don't know if everywork again, because I'm more into flitenow . ( I have also flite that you can compile with haxe )
  • f

    fierce-soccer-8550

    12/04/2022, 1:50 PM
    awesome yoplala. I'm working with haxe to html5... 47rooks would be looking to use speech synthesis to c++ targets like hl and windows I believe.
  • f

    full-journalist-82607

    12/04/2022, 1:55 PM
    Yes, haxe to html5 is the most simple one 🙂 . I had a version of flite which worked as an ndll, then I changed to externs, because I wanted to integrate it more, but I'm thinking to moving to ndll again. lol . If you have any questions you can "@" or pm me . But I have also flite working on html as wasm, could be interesting depending on your projects.
  • f

    fierce-soccer-8550

    12/04/2022, 1:57 PM
    wasm is something i am catching up on here and there, that is something i'd be interested in.
  • f

    fierce-soccer-8550

    12/04/2022, 1:57 PM
    thanks yoplala
  • p

    powerful-morning-89

    12/04/2022, 2:06 PM
    Relevant OS/browser apis for speech synthesis: Browser: macOS/iOS: Android: Windows: Linux: uh.... use whatever firefox uses or something
  • f

    full-journalist-82607

    12/04/2022, 2:06 PM
    You're welcome 🙂 It makes me think that I should look at ly old projects. Are you on linux ? I had an unfinished ( of course) GUI ( made with haxe-ui) tts tester ( where you could test pico, flite, espeak, festival, but used only terminal commands), maybe I should finish it ...
  • f

    full-journalist-82607

    12/04/2022, 2:06 PM
    Linux Firefox uses speech-dispatcher which uses what is configured
  • p

    powerful-morning-89

    12/04/2022, 2:07 PM
    Yes, it seems Firefox and Qt5 both use speech-dispatcher for speech things (on Linux).
  • f

    fierce-soccer-8550

    12/04/2022, 2:09 PM
    I have a desktop with win11 and a workstation with linux. I bounce around between the two.
  • f

    full-journalist-82607

    12/04/2022, 2:15 PM
    I'll try to look at this again these next few days. Hopefully, everything will still compile. 🙂 (But Leaving the computer now )
1...131713181319...1687Latest