{"id":13878733,"url":"https://github.com/dejan/espeak-ruby","last_synced_at":"2025-05-15T05:00:15.731Z","repository":{"id":475261,"uuid":"100491","full_name":"dejan/espeak-ruby","owner":"dejan","description":"Ruby wrapper for  ‘espeak’ and ‘lame’ with sugar on top to create Text-To-Speech mp3 files. ","archived":false,"fork":false,"pushed_at":"2025-05-14T08:25:43.000Z","size":176,"stargazers_count":196,"open_issues_count":5,"forks_count":21,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-14T08:26:22.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://espeak.makeme.tools/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dejan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-01-04T01:47:45.000Z","updated_at":"2025-05-14T08:25:47.000Z","dependencies_parsed_at":"2023-02-10T18:50:12.223Z","dependency_job_id":"e38c2a93-f858-476f-a890-81809a033672","html_url":"https://github.com/dejan/espeak-ruby","commit_stats":{"total_commits":103,"total_committers":9,"mean_commits":"11.444444444444445","dds":"0.10679611650485432","last_synced_commit":"b01a95e2d70f7aab80754075b39dfea7f1d7d490"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejan%2Fespeak-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejan%2Fespeak-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejan%2Fespeak-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejan%2Fespeak-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dejan","download_url":"https://codeload.github.com/dejan/espeak-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254130529,"owners_count":22019796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T08:01:58.093Z","updated_at":"2025-05-15T05:00:15.707Z","avatar_url":"https://github.com/dejan.png","language":"Ruby","readme":"# espeak-ruby\n\nespeak-ruby is a small Ruby API for utilizing [espeak](http://espeak.sourceforge.net) and [lame](http://lame.sourceforge.net/) to create Text-To-Speech mp3 files or just speak (without saving).\n\n## Install\n\nAdd _espeak-ruby_ to Gemfile\n\n```ruby\ngem \"espeak-ruby\", require: \"espeak\"\n```\n\n## Examples\n\n```ruby\n# Speaks \"YO!\"\nspeech = ESpeak::Speech.new(\"YO!\")\nspeech.speak # invokes espeak\n\n# Creates hello-de.mp3 file\nspeech = ESpeak::Speech.new(\"Hallo Welt\", voice: \"de\")\nspeech.save(\"hello-de.mp3\") # invokes espeak + lame\n\n# Lists voices\nESpeak::Voice.all.map { |v| v.language } # [\"af\", \"bs\", \"ca\", \"cs\", \"cy\", \"da\", \"de\", \"el\", \"en\", \"en-sc\", \"en-uk\", \"en-uk-north\", \"en-uk-rp\", \"en-uk-wmids\", \"en-us\", \"en-wi\", \"eo\", \"es\", \"es-la\", \"fi\", \"fr\", \"fr-be\", \"grc\", \"hi\", \"hr\", \"hu\", \"hy\", \"hy\", \"id\", \"is\", \"it\", \"jbo\", \"ka\", \"kn\", \"ku\", \"la\", \"lv\", \"mk\", \"ml\", \"nci\", \"nl\", \"no\", \"pap\", \"pl\", \"pt\", \"pt-pt\", \"ro\", \"ru\", \"sk\", \"sq\", \"sr\", \"sv\", \"sw\", \"ta\", \"tr\", \"vi\", \"zh\", \"zh-yue\"]\n\n# Find particular voice\nESpeak::Voice.find_by_language('en') #\u003cESpeak::Voice:0x007fe1d3806be8 @language=\"en\", @name=\"default\", @gender=\"M\", @file=\"default\"\u003e\n```\n\n## Features\n\nCurrently only subset of espeak features is supported.\n\n```ruby\n:voice     =\u003e 'en'    # use voice file of this name from espeak-data/voices\n:pitch     =\u003e 50      # pitch adjustment, 0 to 99\n:speed     =\u003e 170     # speed in words per minute, 80 to 370\n:capital   =\u003e 170     # increase emphasis (pitch) of capitalized words, 1 to 40 (for natural sound, can go higher)\n:amplitude =\u003e 150     # amplitude (volume) adjustment, 0 to 200\n```\n\nThese are default values, and they can be easily overridden:\n\n```ruby\nSpeech.new(\"Zdravo svete\", voice: \"sr\", pitch: 90, speed: 200).speak\n```\n\n## Installing dependencies\n\n### OS X\n\n    brew install espeak lame\n\n### Ubuntu\n\n    sudo apt-get install espeak lame\n\n## Licence\n\nespeak-ruby is released under the [MIT License](/MIT-LICENSE).\n","funding_links":[],"categories":["Ruby","High Level Tasks"],"sub_categories":["Text-to-Speech-to-Text"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdejan%2Fespeak-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdejan%2Fespeak-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdejan%2Fespeak-ruby/lists"}