構成 | |
| class | COscillator |
| 抽象発振器クラス [詳細] | |
| class | CTableLookup |
| 発振器クラス [詳細] | |
変数 | |
| shortfract | co_h [] |
| cosの上位位相分 | |
| shortfract | co_l [] |
| cosの下位位相分 | |
| shortfract | si_h [] |
| sinの上位位相分 | |
| shortfract | si_l [] |
| sinの下位位相分 | |
| const int | tableSize = 256 |
| ルックアップ・テーブルのサイズ | |
| shortfract osc::co_h |
| shortfract osc::co_l |
| shortfract osc::si_h |
| shortfract osc::si_l |
| const int osc::tableSize = 256 |
ルックアップ・テーブルのサイズ
sine/cosineの計算をするための基本ルックアップテーブルのサイズ。 16bit位相を8bit/8bitに分割するので、ルックアップテーブルのサイズは 256になる
osctable.cpp の 30 行で定義されています。
1.5.2