A client for abair.ie's Gaeilge voice synthesis
gleam add abair@1import 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.