{"id":18439102,"url":"https://github.com/jay-goo/wavelineview","last_synced_at":"2025-04-05T02:10:45.779Z","repository":{"id":127017682,"uuid":"98712624","full_name":"Jay-Goo/WaveLineView","owner":"Jay-Goo","description":" A memory-friendly recording wave animation一款性能内存友好的录音波浪动画","archived":false,"fork":false,"pushed_at":"2019-09-01T13:55:44.000Z","size":1973,"stargazers_count":688,"open_issues_count":8,"forks_count":107,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-29T01:13:39.504Z","etag":null,"topics":["android","animation","line","recorder","wave"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jay-Goo.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":"2017-07-29T06:11:59.000Z","updated_at":"2025-03-11T09:36:05.000Z","dependencies_parsed_at":"2023-07-08T05:01:08.539Z","dependency_job_id":null,"html_url":"https://github.com/Jay-Goo/WaveLineView","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/Jay-Goo%2FWaveLineView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jay-Goo%2FWaveLineView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jay-Goo%2FWaveLineView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jay-Goo%2FWaveLineView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jay-Goo","download_url":"https://codeload.github.com/Jay-Goo/WaveLineView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276189,"owners_count":20912288,"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":["android","animation","line","recorder","wave"],"created_at":"2024-11-06T06:23:23.194Z","updated_at":"2025-04-05T02:10:45.759Z","avatar_url":"https://github.com/Jay-Goo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WaveLineView\n## 一款内存友好的录音漂亮的波浪动画\n\n# 效果图（实际效果更好）\n\n![image](https://github.com/Jay-Goo/WaveLineView/blob/master/pictures/%E6%95%88%E6%9E%9C.gif)\n\n----------\n\n# Usage\n## Step1\n```\n allprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n\t\n\tdependencies {\n\t        compile 'com.github.Jay-Goo:WaveLineView:v1.0.4'\n\t}\n```\n## Step2\n\n```\n\u003cjaygoo.widget.wlv.WaveLineView\n        android:id=\"@+id/waveLineView\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"120dp\"\n        app:wlvBackgroundColor=\"@android:color/white\"\n        app:wlvMoveSpeed=\"290\"\n        /\u003e\n```\n## Step3\n\n```\nwaveLineView.startAnim();\n\nwaveLineView.stopAnim();\n```\n\n```\n  @Override\n    protected void onResume() {\n        super.onResume();\n        waveLineView.onResume();\n    }\n\n    @Override\n    protected void onPause() {\n        super.onPause();\n        waveLineView.onPause();\n    }\n\n    @Override\n    protected void onDestroy() {\n        super.onDestroy();\n        waveLineView.release();\n    }\n```\n\n----------\n# Attributes\nattr | format | description\n-------- | ---|---\nbackgroundColor|color|背景色\nwlvLineColor|color|波浪线的颜色\nwlvThickLineWidth|dimension|中间粗波浪曲线的宽度\nwlvFineLineWidth|dimension|三条细波浪曲线的宽度\nwlvMoveSpeed|float|波浪线移动的速度，默认值为290F，方向从左向右，你可以使用负数改变移动方向\nwlvSamplingSize|integer|采样率，动画效果越大越精细，默认64\nwlvSensibility|integer|灵敏度，范围[1,10]，越大越灵敏，默认值为5\n\n## [原理讲解传送门](https://github.com/Jay-Goo/WaveLineView/blob/master/blog.md)\n\n## 联系我\n\n- Email： 1015121748@qq.com\n- QQ Group: 573830030 有时候工作很忙没空看邮件和Issue,大家可以通过QQ群联系我\n\u003cdiv style=\"text-align: center;\"\u003e\n\u003cimg src=\"https://github.com/Jay-Goo/RangeSeekBar/blob/master/Gif/qq.png\" style=\"margin: 0 auto;\" height=\"250px\"/\u003e\n\u003c/div\u003e\n\n## 一杯咖啡\n\n大家都知道开源是件很辛苦的事情，这个项目也是我工作之余完成的，平时工作很忙，但大家提的需求基本上我都尽量满足，如果这个项目帮助你节省了大量时间，你很喜欢，你可以给我一杯咖啡的鼓励，不在于钱多钱少，关键是你的这份鼓励所带给我的力量~\n\u003cdiv style=\"text-align: center;\"\u003e\n\u003cimg src=\"https://github.com/Jay-Goo/RangeSeekBar/blob/master/Gif/pay.png\" height=\"200px\"/\u003e\n\u003c/div\u003e\n\n# 致谢\n[Bugly—以Tencent OS录音机波形动画为实例](https://mp.weixin.qq.com/s?__biz=MzA3NTYzODYzMg==\u0026mid=2653577211\u0026idx=1\u0026sn=2619c7df79f675e45e87891b7eb17669\u0026scene=4#wechat_redirect)\n\n[DrkCore—以Tencent OS录音机波形为例](http://blog.csdn.net/drkcore/article/details/51822818)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay-goo%2Fwavelineview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjay-goo%2Fwavelineview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay-goo%2Fwavelineview/lists"}