All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Date: 2024-12-10
- Author: Atemndobs
-
MiniPlayer Component:
- Modification: Implemented toggle play/pause functionality.
- Details:
- Updated the button to call
togglePlayPause
which checks the current playing state and toggles between play and pause. - Conditional rendering of play and pause icons based on the
isPlaying
state.
- Updated the button to call
-
ProgressBar Component:
- Modification: Added
onSeek
prop to enable seeking through audio segments. - Details:
- The
onSeek
function is called in thehandleSeek
method, allowing the user to seek to different segments of audio. - Integrated progress calculation and display for the current audio segment.
- The
- Modification: Added
-
Audio Queue Management:
- Modification: Updated logic to support the new seeking functionality.
- Details:
- Adjusted how audio segments are managed, ensuring that the seeking functionality works seamlessly with the audio playback controls.
-
src/components/audio-player/mini-player.tsx
:- Handles the user interface for audio playback controls, including play/pause functionality.
-
src/components/audio-player/progress-bar.tsx
:- Manages the display of audio progress and allows users to seek through segments of audio.
-
src/lib/store/audio-queue.ts
:- Manages the audio queue, including loading, playing, and seeking through audio segments.
- Implemented Tone.js for audio management
- Added ToneManager singleton for centralized audio control
- Introduced autoplay functionality with state handling
- Enhanced audio queue to ensure only one audio plays at a time
- Improved error handling and logging for audio playback
- Updated cleanup logic for audio resources when player is closed
- Resolved issues with audio not stopping when the player is closed
- Fixed TypeScript error in MobileNav component by properly implementing hasAudioContent check
- Removed conditional rendering of VoiceSelector component
- Updated debug logging in MobileNav
- Cleaned up unused text-input.tsx component
- Modified page.tsx and voice-selector.tsx components
- Initial release
- Text-to-speech functionality
- Voice selection
- Audio queue management
- Storage management
- Mobile-friendly navigation