#include <DSP.hpp>
◆ @13
◆ @15
◆ adsr
| uint16_t ComSquare::APU::DSP::Voice::adsr |
◆ adsr1
| uint8_t ComSquare::APU::DSP::Voice::adsr1 |
◆ adsr2
| uint8_t ComSquare::APU::DSP::Voice::adsr2 |
Envelope controllers register (ADSR)
◆ brrAddress
| uint16_t ComSquare::APU::DSP::Voice::brrAddress |
Current BRR associated with this voice.
◆ brrOffset
| uint8_t ComSquare::APU::DSP::Voice::brrOffset = 1 |
Current Offset in the BRR block.
◆ echo
| bool ComSquare::APU::DSP::Voice::echo |
Check if the output will be echoed.
◆ endx
| bool ComSquare::APU::DSP::Voice::endx |
Sample end register (ENDX)
◆ envelope
| uint16_t ComSquare::APU::DSP::Voice::envelope |
◆ envelopeMode
| Envelope ComSquare::APU::DSP::Voice::envelopeMode |
◆ envx
| uint8_t ComSquare::APU::DSP::Voice::envx |
envelope associated with this voice
◆ eon
| bool ComSquare::APU::DSP::Voice::eon |
Echo enable register (EON)
◆ gain
| uint8_t ComSquare::APU::DSP::Voice::gain |
◆ gaussOffset
| uint16_t ComSquare::APU::DSP::Voice::gaussOffset |
Relative fractional position in sample.
◆ hiddenEnvelope
| uint16_t ComSquare::APU::DSP::Voice::hiddenEnvelope |
Second envelope level used to make "special" waveforms.
◆ kof
| bool ComSquare::APU::DSP::Voice::kof |
◆ kon
| bool ComSquare::APU::DSP::Voice::kon |
◆ konDelay
| uint8_t ComSquare::APU::DSP::Voice::konDelay |
Check if voice is in setup phase.
◆ loop
| bool ComSquare::APU::DSP::Voice::loop |
Check if this voice will be looped.
◆ non
| bool ComSquare::APU::DSP::Voice::non |
Noise enable register (NON)
◆ outx
| uint8_t ComSquare::APU::DSP::Voice::outx |
Wave height associated with this voice.
◆ pitch
| uint16_t ComSquare::APU::DSP::Voice::pitch |
◆ pitchH
| uint8_t ComSquare::APU::DSP::Voice::pitchH |
Higher 8 bits of pitch register.
◆ pitchL
| uint8_t ComSquare::APU::DSP::Voice::pitchL |
Lower 8 bits of pitch register.
◆ pmon
| bool ComSquare::APU::DSP::Voice::pmon |
Pitch modulation register (PMON)
◆ prevPmon
| bool ComSquare::APU::DSP::Voice::prevPmon |
◆ sampleOffset
| uint8_t ComSquare::APU::DSP::Voice::sampleOffset |
Offset of current sample in samples buffer.
◆ samples
| std::array<uint16_t, 12> ComSquare::APU::DSP::Voice::samples |
all samples Decoded from BRR
◆ srcn
| uint8_t ComSquare::APU::DSP::Voice::srcn |
Source number register (SRCN)
◆ tempKof
| bool ComSquare::APU::DSP::Voice::tempKof |
temporary Key Off register value
◆ tempKon
| bool ComSquare::APU::DSP::Voice::tempKon |
temporary Key On register value
◆ tempNon
| bool ComSquare::APU::DSP::Voice::tempNon |
temporary NON register value
◆ volume
| std::array<int8_t, 2> ComSquare::APU::DSP::Voice::volume |
The documentation for this struct was generated from the following file: