{"id":19791864,"url":"https://github.com/making/voicetext4j","last_synced_at":"2025-10-07T14:04:22.224Z","repository":{"id":19655123,"uuid":"22907972","full_name":"making/voicetext4j","owner":"making","description":"Java Client Library for VoiceText Web API (https://cloud.voicetext.jp/webapi)","archived":false,"fork":false,"pushed_at":"2016-03-27T14:46:09.000Z","size":53,"stargazers_count":14,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-01T01:38:59.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"picklesdoc/pickles","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/making.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-13T08:11:53.000Z","updated_at":"2025-03-20T23:57:26.000Z","dependencies_parsed_at":"2022-08-21T13:40:43.798Z","dependency_job_id":null,"html_url":"https://github.com/making/voicetext4j","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fvoicetext4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fvoicetext4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fvoicetext4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fvoicetext4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/making","download_url":"https://codeload.github.com/making/voicetext4j/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fvoicetext4j/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259085333,"owners_count":22803183,"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-11-12T07:05:10.323Z","updated_at":"2025-10-07T14:04:17.185Z","avatar_url":"https://github.com/making.png","language":"Java","readme":"# VoiceText4J\nJava Client Library for [VoiceText Web API](https://cloud.voicetext.jp/webapi)\n\n[![Build Status](https://travis-ci.org/making/voicetext4j.svg?branch=master)](https://travis-ci.org/making/voicetext4j)\n\nYou can use VoiceText4J with the following setting in pom.xml:\n\n    \u003cdependency\u003e\n      \u003cgroupId\u003eam.ik.voicetext\u003c/groupId\u003e\n      \u003cartifactId\u003evoicetext4j\u003c/artifactId\u003e\n      \u003cversion\u003e1.0.0\u003c/version\u003e\n    \u003c/dependency\u003e\n\n## Usage\n\n    import org.junit.Test;\n    import am.ik.voicetext4j.*;\n    \n    public class SpeakerTest {\n    \n        @Test\n        public void testSay() throws Exception {\n            System.setProperty(\"voicetext.apikey\", \"API_KEY\");\n            \n            EmotionalSpeaker.HARUKA.ready()\n                    .pitch(105)\n                    .speed(105)\n                    .very().happy()\n                    .speak(\"おはようございます\")\n                    .get(); // blocking\n                    \n            // you can use speak(text, \"API_KEY\") instead of using System.setProperty(\"voicetext.apikey\", \"API_KEY\")\n        }\n    }\n\n`speak(text)` is non-blocking and returns `CompletableFuture\u003cVoid\u003e`.\nTo turn this to blocking, `get()` should be called.\n\n\n    CompletableFuture\u003cVoid\u003e f = EmotionalSpeaker.HARUKA.ready()\n                                            .pitch(105)\n                                            .speed(105)\n                                            .very().happy()\n                                            .speak(\"おはようございます\")\n                                            .thenAccept(x -\u003e System.out.println(\"done\"));\n\n## Quick Start using Groovy and Grape\n\n`test.groovy`\n\n    @Grab(\"am.ik.voicetext:voicetext4j:0.12.0\")\n    import am.ik.voicetext4j.*;\n    \n    System.setProperty(\"voicetext.apikey\", \"API_KEY\");\n    \n    Speaker.SHOW.ready().speak(\"こんにちは\");\n    EmotionalSpeaker.HARUKA.ready().speak(\"こんにちは\");\n    EmotionalSpeaker.HIKARI.ready().speak(\"こんにちは\");\n    EmotionalSpeaker.TAKERU.ready().speak(\"こんにちは\");\n    EmotionalSpeaker.SANTA.ready().speak(\"メリークリスマス\"); // new speaker from 0.11.0\n    EmotionalSpeaker.BEAR.ready().speak(\"こんにちは\").get(); // new speaker from 0.12.0\n\nrun\n\n    $ groovy test.groovy\n    \n### Change emotion\n\n`EmotionalSpeaker`s can be changed their emotion like the following:\n\n    EmotionalSpeaker.HARUKA.ready().speak(\"こんにちは\");\n    EmotionalSpeaker.HARUKA.ready().angry().speak(\"こんにちは\");\n    EmotionalSpeaker.HARUKA.ready().very().angry().speak(\"こんにちは\");\n    EmotionalSpeaker.HARUKA.ready().happy().speak(\"こんにちは\");\n    EmotionalSpeaker.HARUKA.ready().very().happy().speak(\"こんにちは\");\n    EmotionalSpeaker.HARUKA.ready().sad().speak(\"こんにちは\");\n    EmotionalSpeaker.HARUKA.ready().very().sad().speak(\"こんにちは\");\n\n## License\n\nLicensed under the Apache License, Version 2.0.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fvoicetext4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaking%2Fvoicetext4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fvoicetext4j/lists"}