'say' command returns 'Cannot connect to server socket err'

Discussion in 'Mac Programming' started by mKarpis, Jan 8, 2013.

  1. macrumors newbie

    Joined:
    Jan 8, 2013
    #1
    Hi,
    I'm trying to use 'say' command in my app. The computer translates given text to speech (I can hear the voice), but on output I get following:

    Code:
    mac:U miro$ say 'hi'
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    I know that when I tried maybe 6 months ago, I didn't get this output. Please, how can I fix this?

    Cheers..
     
  2. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    This is caused by your Sound Output settings, oddly enough. You have the Jack Audio daemon installed, presumably for something that requires it. The connection is obviously failing. Select the correct source from Sound in System Preferences in the Output tab, then all should be well.
     
  3. mKarpis, Jan 9, 2013
    Last edited: Jan 9, 2013

    thread starter macrumors newbie

    Joined:
    Jan 8, 2013
    #3
    Thank you for that.

    - please how can I uninstall it? + In my sound/output settings I can see only Internal Speakers (no jack or so...), so I can not change it...

    interesting is that when I run:

    jackd -d coreaudio -l

    and after that try 'say' I'm not getting the error output.
     
  4. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #4
  5. thread starter macrumors newbie

    Joined:
    Jan 8, 2013
    #5
    that worked. Thank you very much!!!
     

Share This Page