element.version === currentVersion)) { versionNodes.unshift({ version: currentVersion, url: "#" }); } document.querySelector("#project-version").innerHTML = versionNodes.reduce( (acc, element) => { const status = currentVersion === element.version ? "selected disabled" : ""; return ` ${acc} `; }, `
abair · v1.1.0

abair

A client for abair.ie’s Gaeilge voice synthesis

Package Version Hex Docs

gleam add abair@1
import abair
import gleam/httpc
import simplifile

pub fn main() {
  let assert Ok(response) = abair.synthesis_request("Dia duit!") |> httpc.send
  let assert Ok(synthesized) = abair.synthesis_response(response)
  simplifile.write_bits("greeting.wav", synthesized.audio)
}

Further documentation can be found at https://hexdocs.pm/abair.

Search Document