{"id":25188404,"url":"https://github.com/adrenak/trill","last_synced_at":"2025-05-07T16:21:41.080Z","repository":{"id":117169257,"uuid":"190744032","full_name":"adrenak/trill","owner":"adrenak","description":"Send data using sound ","archived":false,"fork":false,"pushed_at":"2019-06-07T13:14:45.000Z","size":33,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T11:51:07.817Z","etag":null,"topics":["audio","chirp","sound","sound-processing","transmission","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","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/adrenak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"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":"2019-06-07T13:00:23.000Z","updated_at":"2025-03-03T15:24:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"0819621e-a22b-49fa-b14d-2f4110c45876","html_url":"https://github.com/adrenak/trill","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/adrenak%2Ftrill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrenak%2Ftrill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrenak%2Ftrill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrenak%2Ftrill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrenak","download_url":"https://codeload.github.com/adrenak/trill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252913065,"owners_count":21824092,"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":["audio","chirp","sound","sound-processing","transmission","unity"],"created_at":"2025-02-09T20:28:37.910Z","updated_at":"2025-05-07T16:21:41.072Z","avatar_url":"https://github.com/adrenak.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trill\nData transmission using sound waves\n\nTrill is a Unity library for sending and receiving data using sound waves. The idea originally came from [Chirp](https://www.chirp.io). Initially, a rough version was made for a client of mine but transferred data at a much slower speed. This project was started to make a better version.\n\n## API\nTo use Trill, you mainly have to work with `TrillDetector` and `TrillEmitter`\n\n`TrillEmitter`  \nAllows you to pass data in the form of a string or byte array. The emitter converts the data into a series of frequencies that can be emitted.\nSample usage:\n```\nTrillEmitter m_Emitter = TrillEmitter.New();\nm_Emitter.EmitString(input);\n```\n\n\n`TrillDetector`  \nListens for the emitter's sound and when a full message is detected it fires an event with the byte array representing the message.\n\nSample usage:\n```\nTrillDetector d = TrillDetector.New();\nd.StartDetecting();\nd.OnGetMessage += bytes =\u003e {\n    // Do something with the bytes received\n};\n```\n\n`TrillK`\nThis class allows the important parameters of the library to be assigned. Default values will suffice most of the time.\n\n## Future work\nPresently Trill has low data transfer rate (2 bytes/second) and often produces errors in detecting the messages. Error correction algorithms and faster transfer rates are required.\n\n## Contact\n[@github](https://www.github.com/adrenak)  \n[@www](http://www.vatsalambastha.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrenak%2Ftrill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrenak%2Ftrill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrenak%2Ftrill/lists"}