|
DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
|
#include <WDF.h>
Public Attributes | |
| double | offset = 0.0 |
| Offset of the cell grid. | |
| std::uint64_t | firstKey = 0 |
| Key of the first cell. | |
| int | count = 0 |
| Cells built so far. | |
| bool | done = true |
| Nothing left to build. | |
| double | twoC = 0.0 |
| double | from = 0.0 |
| double | to = 0.0 |
| double | c = 0.0 |
| Constant of the single diode. | |
| bool | single = false |
| Single diode instead of the pair. | |
| bool | clipTop = false |
The last cell ends at to. | |
| int | capacity = kMaxCells |
| Cells the caller has room for. | |
| int | nearest = 0 |
| Anchor nearest the last cell. | |
| int | anchorCentre [2] = { -1, -1 } |
| Centres of the two anchors held. | |
| double | anchorWidth [2] = { 0.0, 0.0 } |
| Expansion | anchor [2] |
A build in progress: start() lays the grid out for a constant and a range of drives, and every step() adds one cell, usable at once, so that a running circuit can spread the work over its samples (an anchor costs about 1700 multiply-adds, a cell about 500 more).
| Expansion dspark::wdf::detail::DiodeLocal::Builder::anchor[2] |
| int dspark::wdf::detail::DiodeLocal::Builder::anchorCentre[2] = { -1, -1 } |
| double dspark::wdf::detail::DiodeLocal::Builder::anchorWidth[2] = { 0.0, 0.0 } |
| double dspark::wdf::detail::DiodeLocal::Builder::c = 0.0 |
| int dspark::wdf::detail::DiodeLocal::Builder::capacity = kMaxCells |
| bool dspark::wdf::detail::DiodeLocal::Builder::clipTop = false |
| int dspark::wdf::detail::DiodeLocal::Builder::count = 0 |
| bool dspark::wdf::detail::DiodeLocal::Builder::done = true |
| std::uint64_t dspark::wdf::detail::DiodeLocal::Builder::firstKey = 0 |
| int dspark::wdf::detail::DiodeLocal::Builder::nearest = 0 |
| double dspark::wdf::detail::DiodeLocal::Builder::offset = 0.0 |
| bool dspark::wdf::detail::DiodeLocal::Builder::single = false |