Skip to content

Instantly share code, notes, and snippets.

View usworked's full-sized avatar
🤒
Out working

Ubaid Seth usworked

🤒
Out working
  • Tejas
View GitHub Profile
@joaoreboucas1
joaoreboucas1 / sync.py
Last active October 24, 2023 22:34
Command-line tool in Python that synchronizes a funk beat into a song (must be .wav format)
from math import floor
from pathlib import Path
import sys
import os
import numpy as np
import librosa
import librosa.beat
import soundfile as sf
def synchronize(file_path_1, file_path_2, output_path="mashup.wav", second_iteration=False):
@xstasi
xstasi / requirements-magenta-cpu-apple-m1-m2.txt
Created January 30, 2023 20:26
requirements.txt to install Magenta on Apple Silicon Mac m1/m2, with and without GPU acceleration
absl-py==1.2.0
apache-beam==2.40.0
appdirs==1.4.4
appnope==0.1.3
astroid==2.11.7
asttokens==2.2.1
astunparse==1.6.3
async-timeout==4.0.2
attrs==22.2.0
audioread==3.0.0
@jamiedevsandbox
jamiedevsandbox / really-interesting-repos
Last active April 6, 2024 23:26
Curated list of impressive repositories
https://github.com/github/training-kit
https://github.com/AdguardTeam/AdGuardHome
https://github.com/TH3xACE/SUDO_KILLER
https://github.com/simbody/simbody
https://github.com/matthieu-hackwitharts/Win32_Offensive_Cheatsheet
@PeteMidi
PeteMidi / td3_arp_raw.py
Created July 20, 2020 23:57
TD-3 arpeggiator in Python 3 using numpy and Mido
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on July 7 2020
@author: Pete Midi
"""
import mido
import numpy as np
@saphes
saphes / free_production_stuff.md
Last active October 9, 2019 15:05
Free stuff that might help with production idk
'''animate individual characters in a variable font'''
fontName = 'Skia'
txt = 'variablefonts'
# steps between min/max range
steps = 12
# variable font range
variations = listFontVariations(fontName)
@ihcsim
ihcsim / flowblade.md
Created May 15, 2019 03:33
Video editing with Flowblade

Video Editing With Flowblade

To install flowblade,

sudo apt install -y flowblade

To add a new video file to the project:

  1. Use the Add button to add the video file
import matplotlib.pyplot as plt
from PyQt5 import QtCore
import numpy as np
import time
import math
class VisualiseFrequency(QtCore.QThread):
def __init__(self, song, canvas, player):
@thkim-cochl
thkim-cochl / tflite_async_test.py
Created March 14, 2019 11:17
Event model TF lite test (async)
import os
import tempfile
import numpy as np
import tensorflow as tf
import sox
import pyaudio
import librosa
import logging
import tempfile
import numpy as np