To generate a waveform using the audiowaveform library, we need to do it in two steps.
Step 1: Create a binary format (.dat) file from the audio file
audiowaveform -i 3.mp3 -o 3.dat -z 256 -b 8
Step 2: Generate a image (.png) file using the binary data
audiowaveform -i 3.dat -o 3.png -z 256
#Linux #Ubuntu #audiowaveform #waveform #MP3 #WAV #FLAC #Ogg #Vorbis #Opus