chaudio.tests.test_waveforms module

Source for generating waveforms (like sin, saw, square, etc)

In general, a function f should take in a time parameter t that can be either a normal float, or a numpy array, and hz should be able to be a constant or numpy array

class chaudio.tests.test_waveforms.TestWave(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_basic()[source]
__module__ = 'chaudio.tests.test_waveforms'