MP3 Audio Player
Documentation
Search for articles about the Audio Player and WordPress Theme

Waveform & Peaks Generation – How it Works ?

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.
Generate a waveform of your audio in WordPress
Before and After Image representing waveforms before peaks generation

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:
  1. Go to your WordPress Dashboard.
  2. Navigate to MP3 Player > Tools.
  3. Click on Waveform & Peaks Generator.
  4. Click Generate Peaks to create waveforms for all the tracks used in your audio player.
Generate the soundwave by using our Generator tool in WordPress
The Generator Tools is located in MP3 Player > Tools > Waveform & Peaks Generator

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.

Updated on August 21, 2024
Was this article helpful?
Still Stuck?
We can help.