New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tests/testTrack,testOld files #1
Comments
Hi, For a start I took testTrack.py file.
# --- current ---
def IIR_basic_test():
s = WAV(african)[10e3:20e3]
s[5e3:] *= IIR_basic() # y(n) = 0.3*x(n) + 0.7*y(n-1)
audio = s.mixdown(sample_rate=44100, byte_width=2, max_amplitude=0.2)
# play_Audio(audio)
export_test(audio, IIR_basic_test)
# --- updated? ---
def IIR_general_test():
audio = WAV(kushaura)[10e3:20e3]
audio[3e3:] *= IIR_general([0, -0.5,0,0],
[0.25, 0.15,0.07,0.03])
audio.play(sample_rate=44100, byte_width=2, max_amplitude=0.2)
export_test(audio, IIR_general_test) Did I understand correctly? |
I'd like to eventually migrate all of the content in
Probably the 1st step would be to sift through them and decide which is which, delete everything which is not relevant and start fixing the rest, later moving it into the wiki. Examples of the 3rd case would be dealt with on a case-by-case basis, I guess. |
Also, in particular for |
The text was updated successfully, but these errors were encountered: