Navigation Log - なびろぐ -
2000/10/26

...X680x0 spirit inside...

この日記はGNSで生成しています。
この日記の画像はOPTPiX webDesigner Ver.4で生成しています。

hauN
Go amazon.co.jp

■ご注文リストから■ [一覧]
■Amazonギフト券■ [購入]
Splatoon2 (スプラトゥーン2)|オンラインコード版 []
Splatoon2 ...
Amazonほしい物リスト


2000/10/26 (木) 曇時々晴

平均律

_ 周波数テーブルなら、こんなもんですが。


#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <math.h>

int main( int argc, char *argv[] )
{
	int i;
	for ( i=0; i<=12; i++ ) {
		printf( "%d %f %f\n", i, pow( 2, i/12.0 ), 440*pow( 2, i/12.0 ) );
	}
	return ( EXIT_SUCCESS );
}

0 1.000000 440.000000
1 1.059463 466.163762
2 1.122462 493.883301
3 1.189207 523.251131
4 1.259921 554.365262
5 1.334840 587.329536
6 1.414214 622.253967
7 1.498307 659.255114
8 1.587401 698.456463
9 1.681793 739.988845
10 1.781797 783.990872
11 1.887749 830.609395
12 2.000000 880.000000





メールはこちらへ...[後藤浩昭 / Hiroaki GOTO / GORRY / gorry@hauN.org]

「表紙へ戻る」
「会議室」 「最新版」 「なびろぐindex」 「GNSソースを読む」