tushar-ghige/flutter-piano-app
This simple Flutter project allows you to play piano sounds using your computer keyboard inputs.
Flutter Piano App
Welcome to the Flutter Piano App! This simple Flutter project allows you to play piano sounds using your computer keyboard inputs. This README file will guide you through the setup and usage of this project.
Table of Contents
Getting Started
Prerequisites
Before you start using the Flutter Piano App, make sure you have the following prerequisites installed on your system:
- Flutter: You should have Flutter installed. Follow the official Flutter installation guide at https://flutter.dev/docs/get-started/install if you haven't already.
Installation
-
Clone this repository to your local machine using Git:
git clone https://github.com/tushar-hubgit/ flutter-piano-app
-
Navigate to the project directory:
cd flutter-piano-app -
Get the dependencies using Flutter:
flutter pub get
Now, you're ready to use the Flutter Piano App.
Video Demo
Check out a video demonstration of the Flutter Piano App:
PianoDemo.mp4
Usage
-
Ensure you have a Flutter-compatible device (simulator or physical device) connected to your computer.
-
Run the app using Flutter's
runcommand:flutter run
-
The app should launch on your device or simulator.
-
Use your computer keyboard to play the piano sounds. The mapping of keys to piano notes is as follows:
Zplays the C note.Xplays the D note.Cplays the E note.Vplays the F note.Bplays the G note.Nplays the A note.Mplays the B note.Splays the high D note.Dplays the high E note.Gplays the high G note.Hplays the high A note.Jplays the high B note.
-
Enjoy making music with your keyboard!
Dependencies
The Flutter Piano App relies on the following packages:
just_audio: For playing audio files.flutter: The Flutter framework itself.
All the dependencies are listed in the pubspec.yaml file.
Thank you for using the Flutter Piano App! If you have any questions or encounter any issues, please feel free to open an issue on this repository. Happy playing!