View Source Say (say v0.2.0)

Lets the System say a given text via text-to-speech.

usage

Usage

Import Say

def foo() do
  if func() do
    say("success")
  else
    say("error in foo")
  end
end

configuration-how-to-say-something

Configuration (How to say something)

You can configure the way how to say something...

via an elixir function:

config :say,
   func: &IO.inspect/1

via shell command:

config :say,
   exec: "say"

config :say,
   exec: "say"
   exec_args: ~w(-v somevoice)

via shell command over an SSH tunnel:

config :say,
   exec: "say",
   ssh_args: ~w(-p 2222 localhost)

config :say,
   exec: "say",
   exec_args: ~w(-v somevoice)
   ssh_args: ~w(-p 2222 localhost)

os-specialities

OS specialities

Link to this section Summary

Functions

Lets the system say the given text.

Link to this section Functions

Lets the system say the given text.

examples

Examples

iex> Say.say("hello")