How to install audiowaveform on Ubuntu 18.04

sudo add-apt-repository -y ppa:chris-needham/ppa
sudo apt-get update
sudo apt-get install -y audiowaveform

sudo tee "/usr/local/bin/" <<'EOF'
#!/usr/bin/env python

import json
import sys

if len(sys.argv) < 2:
    print("Usage: python file.json")

filename = sys.argv[1]

with open(filename, "r") as f:
    file_content =

json_content = json.loads(file_content)
data = json_content["data"]

max_val = float(max(data))
new_data = []
for x in data:

json_content["data"] = new_data
file_content = json.dumps(json_content)

with open(filename, "w") as f:
sudo chown root:root "/usr/local/bin/"
sudo chmod 0755 "/usr/local/bin/"

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.