Commit Graph

24 Commits

Author SHA1 Message Date
Robin Gareus 2b0e6ec476
NO-OP: clang format 2022-11-03 00:28:24 +01:00
Robin Gareus 5599e136c0
Implement "vicanek" matched biquad filters 2022-10-31 22:47:30 +01:00
Robin Gareus a946046532
Add API to copy Biquad parameters
This is handy for stereo or higher-order plugin configurations,
the coefficients have to be calculated only once.
2022-04-02 19:10:08 +02:00
Robin Gareus 54ece22efb
Prevent denormals in Lua DSP state (LPF, Biquad) 2021-03-08 22:19:01 +01:00
Robin Gareus e750cab915
LuaDSP use vectorized peak-finding 2020-12-06 22:06:55 +01:00
Robin Gareus d27cdb3855
Fix DSP::process_map() plugin-pin I/O map handing
The previous approach failed in case where PluginInsert
uses no-inplace buffers with a linear map.
Since buffers are replicated up to a total of number of
all (inputs + outputs), the number of output buffers
could not be determined. There was insufficient information
using the I/O map alone.

With a known number of outputs processing and applying
the i/o map is also a lot easier and faster.

This break the API of process_map().
2020-02-26 17:50:08 +01:00
Robin Gareus 5fb38c7c53
Fix DSP::process_map edge-case (unconnected inputs)
previously this could result in signals being passed though
(in-place) when inputs were disconnected.
2020-02-06 21:40:02 +01:00
Paul Davis 903c3ec5a0 rename BufferSet::get* to BufferSet::get_available*
This tries to make it clear what the BufferSet limit semantics really are
2019-09-26 18:39:56 -06:00
Robin Gareus a22f918d9d
Update libardour GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
Robin Gareus 425c54883a Remove unused variable 2018-10-09 19:31:01 +02:00
Robin Gareus 93e32af9f4 Add a noise generator (Lua DSP) 2017-11-12 00:22:34 +01:00
Paul Davis 30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Robin Gareus 104a4c2030 leave a hint for clang's static analyzer 2017-06-23 17:39:20 +02:00
Paul Davis 726c10b6ac correct comment 2016-09-27 14:59:32 -05:00
Robin Gareus 0a975eba29 Nyquist (pronounce it like Klopstock!) 2016-08-23 13:46:11 +02:00
Robin Gareus a09fec0213 add a const - just because. 2016-07-18 23:52:40 +02:00
Robin Gareus 57df370e2a add a convenient lua forward mapped buffers method 2016-07-11 22:36:00 +02:00
Robin Gareus ef1e20f6a2 some more lua-bindings
* allow C memory allocation with lua-lifetime
* expose some ChanMapping methods
2016-07-07 15:37:11 +02:00
Robin Gareus f169ff3db3 extend lua API:
* add a basic FFT spectrum analyzer
* prepare Cairo::ImageSurface
* HSL colorspace conversion
2016-07-02 23:36:34 +02:00
Robin Gareus 298abc5c8c "biquadratic" needs no camelcase - fixes API doc. 2016-05-21 16:23:35 +02:00
Robin Gareus 53c188beb3 keep DSP state variables finite. 2016-05-21 15:55:14 +02:00
Robin Gareus d7e590f9c8 add lua DSP transfer function calculation 2016-05-20 23:14:51 +02:00
Robin Gareus 4ef3e25185 Add some convenient DSP methods for lua scripts 2016-03-18 20:00:44 +01:00
Robin Gareus 7d7f63363b basic DSP lib (for lua bindings) 2016-02-22 22:06:47 +01:00