Commit
feat: Refactor SampleSelector component to improve audio preview handling and integrate waveform visualization
Commit details
Commit notes
This commit refactors the SampleSelector component by simplifying the audio preview logic and removing unnecessary state management for the audio element. It introduces a new Waveform component to visually represent the audio waveform during playback, enhancing the user experience. The togglePreview function is updated to streamline sample playback, and the UI is adjusted to display the waveform alongside playback controls.
- Files changed
- 1
- Lines added
- +29
- Lines removed
- −62