The MP3 Audio Player Pro plugin automatically generates waveforms that visually represent audio tracks. This waveform appears in the player’s progress bar, helping users see the audio form while they listen. Here’s how this feature works and what you need to know.
How It Works #
Automatic Generation:
- When you upload a new audio file, the plugin automatically generates a waveform (peaks) for the track.
- Timing: The waveform is created the first time someone plays the track on your site, typically taking just 2 seconds.
Temporary Display:
- Until the actual waveform is generated, the plugin displays a “fake” waveform, giving a placeholder visual to users.
Manual Waveform Generation for Long or External Tracks #
- For external audio files or tracks longer than 30 minutes, automatic waveform generation might be skipped due to performance concerns.
- In these cases, you can manually generate the waveforms by following these steps:
- Go to your WordPress Dashboard.
- Navigate to MP3 Player > Tools.
- Click on Waveform & Peaks Generator.
- Click Generate Peaks to create waveforms for all the tracks used in your audio player.
When to Use Manual Generation #
- Long Tracks: Tracks over 30 minutes may need manual waveform generation.
- External Sources: If you are using audio files hosted on another server, manual generation is recommended to ensure the waveforms appear.
Conclusion
Waveform & Peaks Generation is a seamless feature that enhances the user experience by visually representing audio tracks. While it usually happens automatically, for longer or external tracks, manual generation is a quick and efficient way to ensure your player looks great and performs well.