This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import soundfile as sf | |
| from scipy.fftpack import fft, ifft | |
| def rotateSignal(signal,flip): | |
| if flip: | |
| signal = signal[::-1] | |
| x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft | |
| rotSig = ifft(x) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <cmath> | |
| /** | |
| State variable filter (SVF), designed by Andrew Simper of Cytomic. | |
| http://cytomic.com/files/dsp/SvfLinearTrapOptimised2.pdf | |
| The frequency response of this filter is the same as of BZT filters. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =========================== | |
| SID FILE FORMAT DESCRIPTION | |
| =========================== | |
| AUTHORS: | |
| Michael Schwendt (PSID v1 and v2) | |
| Simon White (PSID v2NG, RSID) | |
| Dag Lem (PSID v2NG) | |
| Wilfred Bos (PSID v3, RSID v3, PSID v4, RSID v4) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python2 | |
| # Copyright (C) 2016 Sixten Bergman | |
| # License WTFPL | |
| # | |
| # This program is free software. It comes without any warranty, to the extent | |
| # permitted by applicable law. | |
| # You can redistribute it and/or modify it under the terms of the Do What The | |
| # Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See |