(AS3) Dynamic sound generation(2)

| No Comments | No TrackBacks
I made it possible to choose a pitch of the sound and change the amount of harmonic overtone which affects the timbre.
Ratio between a note and another half step away is 2 to the power of 1/12 and by multiplying the ratio by base frequency(A4 = 440 Hz), the frequency for each note can be obtained.

For details, sample code can be downloaded.

download sample
Install flash player 10 or later if you don't see the sample.

No TrackBacks

TrackBack URL: http://www.kynd.info/cp-bin/mt/mt-tb.cgi/8

Leave a comment