Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alex11111115 authored Aug 3, 2024
1 parent 64c2c20 commit 76ca1e8
Showing 1 changed file with 31 additions and 27 deletions.
58 changes: 31 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,43 @@

# WavePlayerView ![http://developer.android.com/index.html](https://github.com/alex11111115/WavePlayerView/assets/96258291/3fc4547a-a929-43c3-8cf0-ee16b066fb7e)

<a href="https://github.com/alex11111115/WavePlayerView">
<p align="center"> <a href="https://github.com/alex11111115/WavePlayerView">
<img src="https://img.shields.io/badge/WavePlayerView-8E8DE5?style=flat&labelColor=E8D8FB&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjQwIiB2aWV3Qm94PSIwIDAgMTAwIDQwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwb2x5bGluZSBwb2ludHM9IjAsMjAgMTAsMTAgMjAsMjAgMzAsMTAgNDAsMjAgNTAsMTAgNjAsMjAgNzAsMTAgODAsMjAgOTAsMTAgMTAwLDIwIiBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOEU4REU1O3N0cm9rZS13aWR0aDoyIiAvPjxwb2x5bGluZSBwb2ludHM9IjAsMjUgMTAsMTUgMjAsMjUgMzAsMTUgNDAsMjUgNTAsMTUgNjAsMjUgNzAsMTUgODAsMjUgOTAsMTUgMTAwLDI1IiBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOEU4REU1O3N0cm9rZS13aWR0aDoyIiAvPjwvc3ZnPg==" alt="WavePlayerView Logo" style="width: 180px; height: 28px; margin-right: 10px;">
<span style="font-size: 12px; color: #8E8DE5;"></span>
</a>
</a></p>

WavePlayerView is an advanced library for analyzing real-time audio and displaying sound waves in an engaging and interactive way.
<p align="center">WavePlayerView: Analyze real-time audio and display sound waves in an interactive and engaging way 🎵</p>

## Features
## Features

- **Real-time audio analysis**: View sound waves while recording or playing an audio file.
- **Customize Display**: Easily adjust wave colors, line widths, and wave speeds.
- **Easy-to-use Programming Interface**: Simple and intuitive programming interface for seamless integration.
- **Wide Compatibility**: Supports Android API level 21 and above. [![API](https://img.shields.io/badge/API-21%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=21)
- **Advanced Control**: Playback speed control, pause/resume functions, and audio progress monitoring.
- **Audio Recording**: Ability to record audio and display real-time waveforms.
- **Volume Control**: Adjust the volume for the left and right channels.
- **Repeat Playback**: Ability to set repeated playback of the audio file.
- 🔊 **Real-time audio analysis**: View sound waves while recording or playing an audio file.
- 🎨 **Customize Display**: Easily adjust wave colors, line widths, and wave speeds.
- 🚀 **Easy-to-use Programming Interface**: Simple and intuitive programming interface for seamless integration.
- 📱 **Wide Compatibility**: Supports Android API level 21 and above. [![API](https://img.shields.io/badge/API-21%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=21)
- 🎛️ **Advanced Control**: Playback speed control, pause/resume functions, and audio progress monitoring.
- 🎙️ **Audio Recording**: Ability to record audio and display real-time waveforms.
- 🔈 **Volume Control**: Adjust the volume for the left and right channels.
- 🔁 **Repeat Playback**: Ability to set repeated playback of the audio file.

## Screenshot
## 🤔 Why use WavePlayerView?

![Screenshot_٢٠٢٤٠٦٠٥-١٠٢٤٥٠_Sound Wave Visualization](https://github.com/alex11111115/WavePlayerView/assets/96258291/5b185180-3fcf-4078-ba9c-75c9aa9c776f)
![Screenshot_٢٠٢٤٠٦٠٥-١٠٢٤١٨_Sound Wave Visualization](https://github.com/alex11111115/WavePlayerView/assets/96258291/b356224d-e6d7-4fd0-8a4b-16d778f859fc)
![Screenshot_٢٠٢٤٠٦٠٥-١٤٥١٥٨_Wave Player](https://github.com/alex11111115/WavePlayerView/assets/96258291/beaf3a5b-49b9-4487-b3f9-94cbeb1cb0d3)
![Screenshot_٢٠٢٤٠٦٠٥-١٤٥٢٠٢_Wave Player](https://github.com/alex11111115/WavePlayerView/assets/96258291/3dd56ed2-d9d2-4baf-a337-b64df2c9e309)
![Screenshot_٢٠٢٤٠٦٠٥-١٤٥٢٠٥_Wave Player](https://github.com/alex11111115/WavePlayerView/assets/96258291/16ad97cd-128e-4483-93d7-fd80ab55246a)
- 🚀 **High Performance**: Designed for high efficiency with minimal impact on your app's performance.
- 🔓 **Open Source**: Full access to the source code for customization and optimization.
- 👥 **Community Support**: Supported by a dedicated community, with opportunities for contributions and improvements.
- 🎠 **Highly Smooth**: Utilizes the latest and most powerful algorithms to deliver an impressive and smooth result

![Screenshot_٢٠٢٤٠٦٠٧-٠٩٢٣٠٢_WavePlayerView](https://github.com/alex11111115/WavePlayerView/assets/96258291/a6b7698b-751b-47ce-961d-33314c1c0795)
## 📸 Screenshots
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٦٤٦_WavePlayerView](https://github.com/user-attachments/assets/96af220b-9174-4ebc-a694-6f938e7dbcc6)
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٦٥٠_WavePlayerView](https://github.com/user-attachments/assets/3098633f-6b86-433d-be1d-9cd60b4ae73b)
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٧٠١_WavePlayerView](https://github.com/user-attachments/assets/4f9d5db3-c5a4-4ed0-a37e-7128f262ca8d)
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٧١٢_WavePlayerView](https://github.com/user-attachments/assets/4c2fe577-6001-43e9-8deb-8332ca1d4e9a)
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٧١٩_WavePlayerView](https://github.com/user-attachments/assets/77087ac0-7114-4563-ac00-3d7f7b59c605)
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٢٥٢_WavePlayerView](https://github.com/user-attachments/assets/47cc419d-9ed2-42b9-aa5d-83bc3182b5ea)
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٣٠٥_WavePlayerView](https://github.com/user-attachments/assets/a1593b5b-6de2-44bb-b5f9-0c74d802b4e0)
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٣١٠_WavePlayerView](https://github.com/user-attachments/assets/a51fa279-e45a-480a-bb41-a138abeadf1f)
![Screenshot_٢٠٢٤٠٨٠٣-١٤٠٣١٨_WavePlayerView](https://github.com/user-attachments/assets/1e28a6d5-95cf-4ac9-9f02-a2b95122637c)

## Why Use WavePlayerView?

- **High Performance**: Engineered for high efficiency with minimal impact on your application's performance.
- **Open Source**: Full access to source code for customization and enhancement.
- **Community Support**: Supported by a dedicated community, with opportunities for contributions and improvements.

## How to Use the Library? ![GitHub top language](https://img.shields.io/github/languages/top/alex11111115/WavePlayerView?style=flat&color=red)

Expand Down Expand Up @@ -262,11 +266,11 @@ waveView.setWave2Alpha(alpha2);
<uses-permission android:name="android.permission.RECORD_AUDIO" />
```

## Important notes
## 📝 Important Notes

- Be sure to request voice recording permissions at runtime for devices running Android 6.0 and above.
- Be sure to ask for audio recording permissions at runtime for devices running Android 6.0 and above.
- The appearance of the waves can be customized through various properties available in XML or programmatically.
- Use `setPlaybackSpeed()' to change the playback speed. Allowable values range from 0.2 to 6.0.
- Use `setPlaybackSpeed()` to change the playback speed. Allowable values range from 0.2 to 6.0.
- You can control the volume with `setVolume()` where the values range from 0.0 (mute) to 1.0 (loudest).
- Use `setLooping()` to set whether the sound will automatically repeat after it ends.

Expand Down Expand Up @@ -315,4 +319,4 @@ WavePlayerView is licensed under the [Apache License 2.0](http://www.apache.org/
<p>Build Status</p>
<img src="https://img.shields.io/github/actions/workflow/status/alex11111115/WavePlayerView/ci.yml?style=flat&color=brightgreen" alt="Build Status">
</div>
</div>
</div>

0 comments on commit 76ca1e8

Please sign in to comment.