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/1via 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
On the Mac the executable
saycan be used directly.On Linux I haven't tried, but these should work https://linuxhint.com/command-line-text-speech-apps-linux/
Link to this section Summary
Link to this section Functions
Lets the system say the given text.
examples
Examples
iex> Say.say("hello")