These are the most useful Regular Expressions that I find myself using on a regular basis
Test to see if a string is a valid website address or not.
# Requires pydub (with ffmpeg) and Pillow | |
# | |
# Usage: python waveform.py <audio_file> | |
import sys | |
from pydub import AudioSegment | |
from PIL import Image, ImageDraw |
from pydub import AudioSegment | |
from matplotlib import pyplot as plot | |
from PIL import Image, ImageDraw | |
import numpy as np | |
import os | |
src = "./test.mp3" | |
audio = AudioSegment.from_file(src) | |
data = np.fromstring(audio._data, np.int16) |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |