This repository contains an Angular application that allows users to record audio from their microphone, pause the recording, resume it, and stop it. It also enables playback of the recorded audio while the recording is paused.
- Start recording: Initiate the recording process.
- Pause recording: Temporarily halt the recording process without stopping it completely.
- Resume recording: Continue the recording process after it has been paused.
- Stop recording: End the recording process and save the recorded audio.
- Playback during pause: Listen to the recorded audio while the recording is paused.
- Download the audio file after recording is finished or when paused.
- Angular: The frontend framework used to build the application.
- TypeScript: The programming language used for Angular application development.
- MediaRecorder API: Used to capture audio from the user's microphone.
- HTML5 Audio API: Used to play back the recorded audio.
- Clone the repository to your local machine.
- Install dependencies using
npm install
. - Run the application using
ng serve
and navigate tohttp://localhost:4200/
in your web browser.
- Click the "Start Recording" button to begin recording audio.
- Click the "Pause Recording" button to pause the recording process temporarily.
- Click the "Resume Recording" button to resume the recording after it has been paused.
- Click the "Stop Recording" button to end the recording process and save the recorded audio.
- You can listen to the recorded audio while the recording is paused by using the playback controls on the audio player.
Contributions to this project are welcome! Feel free to submit issues, suggest enhancements, or open pull requests.
This project is licensed under the MIT License.