Share My Creation [BANano] Text to Speech

Discussion in 'B4J Share Your Creations' started by xulihang, Jan 21, 2019.

  1. xulihang

    xulihang Active Member Licensed User

    Hi Guys,

    I have little web development experience before BANano came out. After some experiments, I found using BANano is very convenient as components can be wrapped as a B4J custom view and basic language can be transpiled to javascript.

    I also accumulate my knowledge of web development by using BANano. I learned things like grid layout.

    I've just done a learning project which is a text to speech app using Web Speech API. I have tested it on Windows 10, Firefox android 64 and iOS 10. You can see it here.

    a6938c7aly1fze63addl0j20hs0vkn0j.jpg
     

    Attached Files:

    Beja, amaxco, Mashiane and 5 others like this.
  2. alwaysbusy

    alwaysbusy Expert Licensed User

    Very nice! Is the combo supposed to show something for the English language?

    EDIT: and thank you for sharing the Range component. I'll add it to the skeleton library example if that is ok for you.
     
    joulongleu likes this.
  3. inakigarm

    inakigarm Well-Known Member Licensed User

    joulongleu and alwaysbusy like this.
  4. xulihang

    xulihang Active Member Licensed User

    Go ahead. I'm glad to contribute something.
     
  5. Kiffi

    Kiffi Well-Known Member Licensed User

    on my computer, the list of voices is often empty. Actually you should wait for the onvoiceschanged event and then load the list of voices. Here is a more pragmatic solution that works for me. ;)

    Code:
    Sub loadVoices()
      
      [Code from xulihang]

      
    If voicesMap.Size = 0 Then
        BANano.Sleep(
    100)
        loadVoices
      
    End If

    End Sub
     
    Beja, joulongleu and alwaysbusy like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice