|
lmms
Cross-platform music production software
|
#include <Nes.h>
Public Member Functions | |
| NesObject (NesInstrument *nes, const sample_rate_t samplerate, NotePlayHandle *nph) | |
| virtual | ~NesObject ()=default |
| void | renderOutput (SampleFrame *buf, f_cnt_t frames) |
| void | updateVibrato (float *freq) |
| void | updatePitch () |
| void | updateLFSR (bool mode) |
| bool | LFSR () |
| int | wavelength (float freq) |
| int | nearestNoiseFreq (float f) |
Private Attributes | |
| NesInstrument * | m_parent |
| const sample_rate_t | m_samplerate |
| NotePlayHandle * | m_nph |
| int | m_pitchUpdateCounter |
| int | m_pitchUpdateFreq |
| int | m_ch1Counter |
| int | m_ch2Counter |
| int | m_ch3Counter |
| int | m_ch4Counter |
| int | m_ch1EnvCounter |
| int | m_ch2EnvCounter |
| int | m_ch4EnvCounter |
| int | m_ch1EnvValue |
| int | m_ch2EnvValue |
| int | m_ch4EnvValue |
| int | m_ch1SweepCounter |
| int | m_ch2SweepCounter |
| int | m_ch4SweepCounter |
| uint16_t | m_LFSR |
| float | m_12Last |
| float | m_34Last |
| float | m_lastNoteFreq |
| float | m_lastNoiseFreq |
| int | m_maxWlen |
| float | m_nsf |
| int | m_wlen1 |
| int | m_wlen2 |
| int | m_wlen3 |
| int | m_wlen4 |
| int | m_vibratoPhase |
| lmms::NesObject::NesObject | ( | NesInstrument * | nes, |
| const sample_rate_t | samplerate, | ||
| NotePlayHandle * | nph ) |
|
virtualdefault |
|
inline |
|
inline |
| void lmms::NesObject::renderOutput | ( | SampleFrame * | buf, |
| f_cnt_t | frames ) |
|
inline |
| void lmms::NesObject::updatePitch | ( | ) |
| void lmms::NesObject::updateVibrato | ( | float * | freq | ) |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |