{"id":13848067,"url":"https://github.com/FireZenk/AudioWaves","last_synced_at":"2025-07-12T11:33:08.291Z","repository":{"id":45748997,"uuid":"46234254","full_name":"FireZenk/AudioWaves","owner":"FireZenk","description":"Shows a graphic representation of the sounds captured by the microphone on Android","archived":false,"fork":false,"pushed_at":"2017-12-23T12:24:11.000Z","size":424,"stargazers_count":816,"open_issues_count":12,"forks_count":154,"subscribers_count":40,"default_branch":"develop","last_synced_at":"2024-08-05T19:35:23.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/FireZenk.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":"2015-11-15T20:22:40.000Z","updated_at":"2024-07-29T22:19:55.000Z","dependencies_parsed_at":"2022-08-29T13:30:09.108Z","dependency_job_id":null,"html_url":"https://github.com/FireZenk/AudioWaves","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/FireZenk%2FAudioWaves","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FireZenk%2FAudioWaves/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FireZenk%2FAudioWaves/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FireZenk%2FAudioWaves/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FireZenk","download_url":"https://codeload.github.com/FireZenk/AudioWaves/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225820303,"owners_count":17529138,"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-04T19:00:40.148Z","updated_at":"2024-11-21T23:30:54.804Z","avatar_url":"https://github.com/FireZenk.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"# Audio Waves\n\nShows a graphic representation of the sounds captured by the microphone on Android\n\n![android_audio_waves](https://cloud.githubusercontent.com/assets/1595403/11171019/e7f21ebe-8be4-11e5-80ed-5d485dc46719.png)\n\n### GRADLE:\nAdd this to your `app/build.gradle`\n\n\trepositories {\n\t    \t...\n\t    \tmaven { url 'https://github.com/FireZenk/maven-repo/raw/master/'}\n\t}\n\tdependencies {\n\t\t\t...\n\t        compile 'org.firezenk:audiowaves:1.1@aar'\n\t}\n\n### USAGE:\n\n1. Add permission to record audio (into your Manifest)\n\t\n\t````\n\t\u003cuses-permission android:name=\"android.permission.RECORD_AUDIO\"/\u003e\n\t````\n\n2. Add the new xmls to your layout parent widget\n\n\t````\n\txmlns:aw=\"http://schemas.android.com/apk/res-auto\"\n\t````\n3. Add AudioWeaves to your layout and configure it\n\n\t````\n\t\u003corg.firezenk.audiowaves.Visualizer\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        aw:aw_format=\"vertical_lines\"\n        aw:aw_gravity=\"center\"\n        aw:aw_width=\"100\"\n        aw:aw_height=\"200\"\n        aw:aw_num_waves=\"10\"\n        aw:aw_line_with=\"30\"\n        aw:aw_line_min_with=\"30\"\n        aw:aw_line_height=\"30\"\n        aw:aw_line_min_height=\"30\"\n        aw:aw_line_spacing=\"10\"\n        aw:aw_line_border_radius=\"50\"\n        aw:aw_ball_diameter=\"30\"\n        aw:aw_color_uniform=\"@color/YOUR_COLOR_HERE\"\n        aw:aw_color_is_gradient=\"true\"\n        aw:aw_color_gradient_start=\"@color/YOUR_START_COLOR\"\n        aw:aw_color_gradient_end=\"@color/YOUR_END_COLOR\" /\u003e\n\t````\n4. Start (and stop) the listener\n\t\n\t````\n\t((Visualizer) findViewById(R.id.visualizer)).startListening(); //to stop: .stopListening()\n\t````\n5. (Optional) Also you can configure AudioWeaves by code\n\t\n\t````\n\tvoid setFormat(int format);\n\n    void setGravity(int gravity);\n\n    void setDimens(int width, int height);\n\n    void setWidth(int width);\n\n    void setHeight(int height);\n\n    void setNumWaves(int waves);\n\n    void setLineDimens(int width, int height);\n\n    void setLineWidth(int width);\n\n    void setLineHeight(int height);\n\n    void setLineMinDimens(int minWidth, int minHeight);\n\n    void setLineMinWidth(int minWidth);\n\n    void setLineMinHeight(int minHeight);\n\n    void setLineSpacing(int spacing);\n\n    void setLineBorderRadius(int borderRadius);\n\n    void setBallDiameter(int ballDiameter);\n\n    void setColor(int color);\n\n    void setIsGradient(boolean isGradient);\n\n    void setGradient(int startColor, int endColor);\n\n    void setGradientColorStart(int color);\n\n    void setGradientColorEnd(int color);\n\t````\n\n### MORE INFO:\n\n\tGo to sample module\n\n### LICENSE\n\n````\nThe MIT License (MIT)\n\nCopyright (c) 2015 Jorge Garrido Oval \u003cfirezenk@gmail.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFireZenk%2FAudioWaves","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFireZenk%2FAudioWaves","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFireZenk%2FAudioWaves/lists"}