|
LMMS
|
#include <Nes_Oscs.h>
Public Types | |
| enum | { negate_flag = 0x08 } |
| enum | { shift_mask = 0x07 } |
| enum | { phase_range = 8 } |
| typedef Blip_Synth< blip_good_quality, 1 > | Synth |
Public Member Functions | |
| Nes_Square (Synth const *s) | |
| void | clock_sweep (int adjust) |
| void | run (nes_time_t, nes_time_t) |
| void | reset () |
| nes_time_t | maintain_phase (nes_time_t time, nes_time_t end_time, nes_time_t timer_period) |
| Public Member Functions inherited from Nes_Envelope | |
| void | clock_envelope () |
| int | volume () const |
| void | reset () |
| Public Member Functions inherited from Nes_Osc | |
| void | clock_length (int halt_mask) |
| int | period () const |
| void | reset () |
| int | update_amp (int amp) |
Public Attributes | |
| int | phase |
| int | sweep_delay |
| Synth const & | synth |
| Public Attributes inherited from Nes_Envelope | |
| int | envelope |
| int | env_delay |
| Public Attributes inherited from Nes_Osc | |
| unsigned char | regs [4] |
| bool | reg_written [4] |
| Blip_Buffer * | output |
| int | length_counter |
| int | delay |
| int | last_amp |
| typedef Blip_Synth<blip_good_quality,1> Nes_Square::Synth |
|
inline |
|
inline |
| void Nes_Square::run | ( | nes_time_t | time, |
| nes_time_t | end_time ) |
| int Nes_Square::phase |
| int Nes_Square::sweep_delay |