{"id":18008997,"url":"https://github.com/koide3/ros2d2","last_synced_at":"2025-03-26T13:31:45.518Z","repository":{"id":110286352,"uuid":"215734883","full_name":"koide3/ros2d2","owner":"koide3","description":"A ROS package to make R2D2-like sound","archived":false,"fork":false,"pushed_at":"2019-10-21T01:26:43.000Z","size":87,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T22:21:53.727Z","etag":null,"topics":["r2d2","ros","sound","voice"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koide3.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-17T07:55:10.000Z","updated_at":"2025-02-06T10:47:19.000Z","dependencies_parsed_at":"2023-04-08T05:49:16.070Z","dependency_job_id":null,"html_url":"https://github.com/koide3/ros2d2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koide3%2Fros2d2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koide3%2Fros2d2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koide3%2Fros2d2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koide3%2Fros2d2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koide3","download_url":"https://codeload.github.com/koide3/ros2d2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245662929,"owners_count":20652099,"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":["r2d2","ros","sound","voice"],"created_at":"2024-10-30T02:08:31.368Z","updated_at":"2025-03-26T13:31:45.508Z","avatar_url":"https://github.com/koide3.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ros2d2\n*ros2d2* is a ROS package to make R2D2-like sounds. It is based on the following libraries:\n- \u003ca href=\"http://kevinboone.net/README_r2d2-voice.html\"\u003er2d2-voice\u003c/a\u003e to synthesize prametric beep sounds (like whistle)\n- \u003ca href=\"https://pypi.python.org/pypi/ttastromech\"\u003ettastromech\u003c/a\u003e to transform texts into R2D2 sounds\n\n![R2D2](https://lumiere-a.akamaihd.net/v1/images/r2-d2_41dacaa9_68566da1.jpeg \"R2D2\")\n\n## Installation\n\n```bash\npip install ttastromech\n\ncd ~/catkin_ws/src\ngit clone https://github.com/koide3/ros2d2.git\n\ncd ~/catkin_ws\ncatkin_make -DCMAKE_BUILD_TYPE=Release\n```\n\nYou may need to install libasound2-dev:\n```bash\nsudo apt install libasound2-dev\n```\n\n## Usage\n```bash\nroslaunch ros2d2 ros2d2.launch\n```\n\n```bash\n# play a preset beep sound\n$ rostopic pub /ros2d2_node/preset std_msgs/String \"data: 'whistle'\"\n\n# generate R2D2 sound from a text\n$ rostopic pub /ros2d2_node/speak std_msgs/String \"data: 'hello world'\"\n```\nAudio: [whistle](data/sound/whistle.ogg), [hello world](data/sound/hello.ogg)\n\n## Topics\n#### /ros2d2_node/preset\nYou can play preset beep sounds synthesized by *r2d2-voice*. Default preset sounds are; whistle, tonedown, toneup, failure, alert, confuse, and calculate. They are defined by a csv file at *ros2d2/data/presets*. You can add new sounds by adding commands to the file.\n\n#### /ros2d2_node/speak\nWith this topic, you can play R2D2 voice transformed from a text using *ttastromech*. It makes sound by translating each character in the text to corresponding predefined R2D2 sound. \n\n#### /ros2d2_node/cmd_synth\nThis is a topic to make sound by directly giving commands to *r2d2-voice*. See \u003ca href=\"http://kevinboone.net/README_r2d2-voice.html\"\u003er2d2-voice\u003c/a\u003e for the details of the command.\n\n## License\n\nThis package is released under GPLv3 as r2d2-voice adopts this license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoide3%2Fros2d2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoide3%2Fros2d2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoide3%2Fros2d2/lists"}