7 #ifndef PDSP_SIGNAL_BITCRUNCHER_H_INCLUDED 8 #define PDSP_SIGNAL_BITCRUNCHER_H_INCLUDED 10 #include "../pdspCore.h" 42 void prepareUnit(
int expectedBufferSize,
double sampleRate )
override;
43 void releaseResources ()
override;
44 void process (
int bufferSize) noexcept override ;
47 void process_audio(
const float* &inputBuffer,
const float* &bitsBuffer,
const int &bufferSize)noexcept;
62 #endif // PDSP_SIGNAL_BITCRUNCHER_H_INCLUDED Bitcruncher. Makes the output distorted by reducing the bit used for storing the amplitude values...
Definition: Bitcruncher.h:20
Patchable & out_signal()
Sets "signal" as selected output and returns this Unit ready to be patched. This is the default outpu...
Definition: Bitcruncher.cpp:23
Abstract class for implementing Units.
Definition: BasicNodes.h:223
Abstract class for implementing Units and Modules.
Definition: BasicNodes.h:82
Patchable & in_signal()
Sets "signal" as selected input and returns this Unit ready to be patched. This is the default input...
Definition: Bitcruncher.cpp:19
Patchable & in_bits()
Sets "bits" as selected input and returns this Unit ready to be patched. Default bits is 16...
Definition: Bitcruncher.cpp:15
Thread-safe value control with smoothing.
Definition: SequencerBridge.h:11
Output of a Unit, contains a buffer of rendered floats and has a variable state flag.
Definition: BasicNodes.h:354