Commit Graph

8 Commits

Author SHA1 Message Date
David Sutton 52a56f3a52 Audiofiltering:
Increase efficiency of convolution algorithm.

Approximately 150x faster. (takes ~4.5s to lowpass filter ~1min of audio)
2022-12-28 16:02:14 +10:30
David Sutton b2d2a41fdc Audiofiltering:
Add amplification filter which uses filter.Upper as factor for amplification
2022-12-28 00:30:30 +10:30
ausocean-david d029038db9 Audiofiltering:
Interface the function with pre-existing data structures. The filters can now be generated into a filter type using a generic Generate function.
This generates a filter off of the specifications within the filter struct. There is a generic Apply function which takes in a buffer of PCM data (defined in pcm.go),
and outputs to a []byte.
2022-12-24 02:28:15 +10:30
ausocean-david 75124b4494 Audiofiltering:
Implement bandpass filter by combining lowpass and highpass filters.
2022-12-24 02:28:15 +10:30
ausocean-david 49db1041d3 Audiofiltering:
Improve filter performance by reducing frequency leakage.
2022-12-24 02:28:15 +10:30
ausocean-david fcc7d72b0b Audiofiltering:
Add highpass filter functionality.
2022-12-24 02:28:15 +10:30
ausocean-david 8231379a51 Audiofiltering:
Increase the efficieny and stability of algorithms by making use of waitgroups and goroutines.
2022-12-24 02:28:15 +10:30
ausocean-david 80ab5e4768 Audiofiltering:
Create Lowpass filter with frequency control, with efficient convolution algorithm.
2022-12-24 02:28:15 +10:30