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: |