Skip to content

Instantly share code, notes, and snippets.

@theWatchmen
theWatchmen / resampling2.py
Created April 13, 2024 13:40
Resampling impementation in Python (2nd attempt)
import numpy as np
import matplotlib.pyplot as plt
Fs = 44100
Fs_prime = 96000
A = 90
TEST_SAMPLES = 1000
Nz = 13
Nzd = Nz * 2 + 1
@theWatchmen
theWatchmen / resampling.py
Last active April 1, 2024 14:29
Resampling impementation in Python
import numpy as np
from scipy import signal
import matplotlib.pyplot as plt
import time
import math
Fs = 44100
Fs_prime = 96000
A = 90
TEST_SAMPLES = 1000