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
Saw.cpp
00001 #include "Saw.h" 00002 00003 Saw::Saw(long interrupt_us):WT(interrupt_us) 00004 { 00005 unsigned long src[]= 00006 { 00007 0x0, 00008 0x1111, 00009 0x2222, 00010 0x3333, 00011 0x4444, 00012 0x5555, 00013 0x6666, 00014 0x7777, 00015 0x8888, 00016 0x9999, 00017 0xAAAA, 00018 0xBBBB, 00019 0xCCCC, 00020 0xDDDD, 00021 0xEEEE, 00022 0xFFFF, 00023 00024 }; 00025 setWave(src); 00026 }
Generated on Thu Jul 14 2022 05:33:08 by 1.7.2