Commit Graph

1573 Commits

Author SHA1 Message Date
David Reid b8b228a9da Fix a bug in WASAPI where an empty message could be logged. 2020-03-01 11:31:51 +10:00
David Reid 79cca305d9 Minor rewording to documentation. 2020-03-01 07:20:01 +10:00
David Reid 6785f777a4 Fix typos. 2020-03-01 06:54:16 +10:00
David Reid 144a8e47fb Update release notes. 2020-02-29 19:30:51 +10:00
David Reid 02620ad059 Overhaul result codes and how they're propagated.
If you're a binding maintainer you will need to update to use the new
result codes.
2020-02-29 16:39:02 +10:00
David Reid f57f78d4bf Update revision history. 2020-02-29 12:17:18 +10:00
David Reid bff8c83ed9 Improve result codes when opening a file. 2020-02-29 12:11:23 +10:00
David Reid 3cb9622a96 Add more results codes in preparation for future work. 2020-02-29 11:59:11 +10:00
David Reid 1894dbfe7e Update feature list. 2020-02-29 10:44:48 +10:00
David Reid a90131d843 Improvements to high order low- and high-pass filters.
This changes the Q value of the chain of second order low-pass filters
making up the high order filters. Previously the Q value was always set
to 0.707107 for the entire chain, but this is incorrect for Butterworth
filters when the order is greater than 2.

This should make a small improvement to the quality of the linear
resampler.
2020-02-29 10:14:44 +10:00
David Reid 163286be2c Add support for configuring the Q parameter of biquad based filters.
This is in preparation for improving ma_lpf, ma_hpf and ma_bpf to make
them proper Butterworth filters.
2020-02-28 20:48:50 +10:00
David Reid 5bcfda1462 Minor restructuring for consistency. 2020-02-28 19:31:18 +10:00
David Reid 324118e8bc Process first order filters before second order in LPF and HPF filters. 2020-02-28 19:26:30 +10:00
David Reid 2a77b937cb Be more consistent when describing filters. 2020-02-28 19:24:02 +10:00
David Reid 5fdb319014 Fix bug in test code. 2020-02-27 20:55:37 +10:00
David Reid e563b19e2b Improvements to ma_tzcnt32(). 2020-02-27 18:42:45 +10:00
David Reid 2be437ea33 Update revision history. 2020-02-26 21:21:24 +10:00
David Reid f1a4e2c8d7 Update features list. 2020-02-26 19:50:21 +10:00
David Reid 228094a9ac Add some brief documentation for the new filters. 2020-02-26 19:11:16 +10:00
David Reid 34120546ca Add documentation for the encoding API. 2020-02-26 18:01:01 +10:00
David Reid d26154ca36 Update release notes for filters. 2020-02-26 18:00:48 +10:00
David Reid 68556168b0 Update documentation to mention Brownian noise. 2020-02-25 19:09:54 +10:00
David Reid 479d36c2a1 Add support for Brownian noise. 2020-02-25 19:07:50 +10:00
David Reid 8c96ca4c55 Update documentation. 2020-02-25 17:29:59 +10:00
David Reid cf3fd4876f Add support for pink noise. 2020-02-24 20:22:14 +10:00
David Reid b1c4cfe5cc Remove some old testing code. 2020-02-24 17:27:08 +10:00
David Reid a5644d7295 Documentation fixes. 2020-02-24 17:25:49 +10:00
David Reid 8d4e0bc84e Fix memory leaks in tests. 2020-02-23 21:21:11 +10:00
David Reid f305dc9890 Add second order high shelf filter. 2020-02-23 21:21:02 +10:00
David Reid 5b385670f3 Add second order low shelf filter. 2020-02-23 21:03:22 +10:00
David Reid b6d0591042 Minor restructuring. 2020-02-23 20:17:53 +10:00
David Reid f1abfccb52 Add second order notching filter. 2020-02-23 20:08:44 +10:00
David Reid a5d4109a6a Add testing code for peaking filter. 2020-02-23 20:01:02 +10:00
David Reid 825cd23ae8 Add second order peaking EQ filter.
This API is called ma_peak.
2020-02-23 19:52:01 +10:00
David Reid b4e024a481 Update documentation. 2020-02-23 17:19:33 +10:00
David Reid 2fd71d3a7a Add an encoding API.
This API is called ma_encoder. Currently it only supports encoding to
WAV files, which is done via dr_wav.
2020-02-23 17:04:46 +10:00
David Reid 4d3dcb71bd Integrate the new LPF into the linear resampler. 2020-02-23 15:11:42 +10:00
David Reid 3edc03f931 Add ma_bpf with support for configuring the number of poles. 2020-02-23 14:46:32 +10:00
David Reid cda27514f0 Add ma_hpf with support for configuring the number of poles. 2020-02-23 14:07:48 +10:00
David Reid 2e1869ab1b Add 1-pole high pass filter. 2020-02-23 13:55:46 +10:00
David Reid a48c23a5a1 Minor restructuring. 2020-02-23 12:14:23 +10:00
David Reid a263cd9730 Add ma_lpf with support for configuring the number of poles. 2020-02-23 12:04:43 +10:00
David Reid e9234f8894 Rename ma_bpf to ma_bpf2. 2020-02-23 10:54:27 +10:00
David Reid 846b27908d Rename ma_hpf to ma_hpf2. 2020-02-23 10:50:34 +10:00
David Reid 22b958b471 Rename ma_lpf to ma_lpf2. 2020-02-23 10:48:15 +10:00
David Reid f028e65e38 Update filtering tests. 2020-02-23 10:36:28 +10:00
David Reid d6f1d05d64 Add ma_lpf1_config_init(). 2020-02-23 10:35:15 +10:00
David Reid 10f0aebed3 Add 1-pole low-pass filter. 2020-02-23 10:12:29 +10:00
David Reid 63a1535e75 Fix a typo. 2020-02-23 07:38:30 +10:00
David Reid 969679113c Fix a typo. 2020-02-22 21:31:03 +10:00