Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/turskyi/visualizerkotlin
This Android project demonstrates how to create an audio visualizer using the Visualizer class. It also showcases the use of SharedPreferences and custom settings to allow the user to customize the visualizer's appearance and behavior.
https://github.com/turskyi/visualizerkotlin
android educational-project kotlin sample-app xml
Last synced: 27 days ago
JSON representation
This Android project demonstrates how to create an audio visualizer using the Visualizer class. It also showcases the use of SharedPreferences and custom settings to allow the user to customize the visualizer's appearance and behavior.
- Host: GitHub
- URL: https://github.com/turskyi/visualizerkotlin
- Owner: Turskyi
- Created: 2020-07-14T19:32:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-28T20:06:08.000Z (5 months ago)
- Last Synced: 2024-07-29T17:23:59.644Z (5 months ago)
- Topics: android, educational-project, kotlin, sample-app, xml
- Language: Kotlin
- Homepage: https://github.com/Turskyi/VisualizerKotlin
- Size: 7.08 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua)
# Audio Visualizer
This Android project demonstrates how to create an audio visualizer using the
Visualizer class. It also showcases the use of SharedPreferences and custom
settings to allow the user to customize the visualizer's appearance and
behavior.## Value
This project is valuable for developers who want to learn how to:
Use the Visualizer class to create audio visualizations.
Implement custom settings using SharedPreferences and PreferenceFragmentCompat.
Handle runtime permissions for audio recording.
Create custom views for displaying data.## Key classes
- **MainActivity**: This activity is responsible for setting up the visualizer
- view, handling audio permissions, and managing the audio input reader. It
- also interacts with the SharedPreferences to apply user settings.
- **SettingsFragment**: This fragment provides a user interface for
- customizing the visualizer's settings. It uses PreferenceFragmentCompat to
- display a list of customizable options, such as color, size, and frequency
- bands to display.## Features
- Real-time audio visualization.
- Customizable visualizer settings:
- Color
- Size
- Displayed frequency bands (bass, mid-range, treble)
- Runtime permission handling for audio recording.## Note
This project is intended as an educational sample and may require further
development for production use.## Screenshots:
## Contact:
For any inquiries or suggestions, please open an issue on the GitHub repository
or reach out to me directly at
[[email protected]](mailto:[email protected]).