def modulate_buffer(mod, buff, num_samples): return ffi.gc(_cffi.lib.modulate_buffer(mod, buff, num_samples), _cffi.lib.free)
def create(kf, typ): return ffi.gc(_cffi.lib.freqdem_create(kf, typ), freqdem_destroy)
def create(kf): return ffi.gc(_cffi.lib.freqmod_create(kf), freqmod_destroy)
def create(kf): return ffi.gc(_cffi.lib.freqdem_create(kf), destroy)