Tsuyoshi TSUCHIMOTO
/
Synthesizer
Wave Table Synthesizer(Occilator only). I will make Envelope Generator and MML for play music.
Embed:
(wiki syntax)
Show/hide line numbers
WT.h
00001 #ifndef _WT_H_INCL 00002 #define _WT_H_INCL 00003 #include "Occilator.h" 00004 00005 class WT : public Occilator 00006 { 00007 public: 00008 /** 00009 * Set waveform. 00010 * @param wave Array of waveform.Sutulation is (0xffff).Data number is 16. 00011 */ 00012 virtual void setWave(unsigned long wave[16]); 00013 00014 unsigned long m_Wave[16]; 00015 00016 virtual unsigned long tick(); 00017 00018 WT(long interrupt_us); 00019 }; 00020 #endif
Generated on Thu Jul 14 2022 05:33:08 by 1.7.2