Add decompose and upsample util functions
Compare changes
Files
2+ 78
− 9
@@ -9,17 +9,21 @@ def interleave(*args) -> List[Num]:
@@ -9,17 +9,21 @@ def interleave(*args) -> List[Num]:
@@ -39,9 +43,74 @@ def downsample(a: Sequence[Num], factor: int, phase: int = 0) -> List[Num]:
@@ -39,9 +43,74 @@ def downsample(a: Sequence[Num], factor: int, phase: int = 0) -> List[Num]: