Henrik Andersson wrote:

> I'd try the classical software synth approach. Pianos are pretty close to
> sine waves with an envelope filter controlling the amplitude and some reverb
> I've read.

It depends on how accurate Paul wants to be. The higher you go on the
piano keyboard, the closer you get to a pure sin wave. The mid-range
and lower notes are very rich in overtones.

Plus, there are three strings for each note through most of the
register, and a good piano tuner will put one string slightly out of
tune to give a richer sound. It's the same effect as with a violin
section. 28 violins don't sound like a violin 28x louder. The slight
differences in intonation, even in the world's best symphonies, is
what gives the section a richer sound.

I actually am a musician--I play principal French Horn for the Boston
Civic Symphony, and have a master's in music from a pretty good
university (Michigan).

There is a good online music notation program that does anice job of
simulating the piano sound in code, and it's written in AS3 (Flex, I
believe). Check out <http://www.noteflight.com/login>. I don't know
how willing they would be to share trade secrets, but Joe Berkovitz
might be willing to point you in the right direction.

Cordially,

Kerry Thompson

Cordially,

Kerry Thompson
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to