FLAMO is an open-source frequecy-sampling library for audio-module optimization in PyTorch. The code can be found in this github repository.
FLAMO
PyTorch
pip install flamo
Differentiable Digitial Signal Processor:
Transform
Transform.forward()
FFT
iFFT
DSP
DSP.assign_value()
DSP.forward()
DSP.get_gamma()
DSP.init_param()
Gain
Gain.check_input_shape()
Gain.check_param_shape()
Gain.forward()
Gain.get_freq_convolve()
Gain.get_io()
Gain.initialize_class()
Matrix
Matrix.initialize_class()
Matrix.matrix_gallery()
Delay
Delay.check_input_shape()
Delay.check_param_shape()
Delay.forward()
Delay.get_delays()
Delay.get_freq_convolve()
Delay.get_freq_response()
Delay.get_io()
Delay.init_param()
Delay.initialize_class()
Delay.s2sample()
Delay.sample2s()
parallelDelay
parallelDelay.check_param_shape()
parallelDelay.get_freq_convolve()
parallelDelay.get_freq_response()
parallelDelay.get_io()
Biquad
Biquad.check_param_shape()
Biquad.get_freq_response()
Biquad.get_io()
Biquad.get_map()
Biquad.get_size()
Biquad.init_param()
Biquad.initialize_class()
parallelBiquad
parallelBiquad.check_param_shape()
parallelBiquad.get_freq_convolve()
parallelBiquad.get_freq_response()
parallelBiquad.get_io()
parallelBiquad.get_map()
SVF
SVF.check_input_shape()
SVF.check_param_shape()
SVF.get_freq_response()
SVF.get_io()
SVF.map_param2svf()
SVF.param2R()
SVF.param2freq()
SVF.param2mix()
Series
Recursion
Recursion.forward()
Shell
Shell.forward()
Shell.get_freq_response()
Shell.get_time_response()
Optimization:
Trainer
Trainer.early_stop()
Trainer.get_train_dir()
Trainer.print_results()
Trainer.register_criterion()
Trainer.save_model()
Trainer.train()
Trainer.train_step()
Trainer.valid_step()
Functional:
functional.lowpass_filter()
functional.highpass_filter()
functional.bandpass_filter()