Jason Merrill wrote:

> I wonder how much of that you could realistically control using volume 
> settings in Actionscript on the sound?  Not realistic enough?
-------------------------------------

Probably realistic enough for the OP. He said he didn't need the
realism. 88 keys is 7+ octaves--I'm betting one sample from each
octave would be realistic enough. I would go with .wav or .aiff,
though, rather than mp3, because it starts much more quickly.

It wouldn't be enough for a realistic piano sound, though. A note
typically has 3 parts: the attack, the sustain, and the decay. High
notes have a much shorter attack and delay then low notes, as well as
different overtones. Loud notes have a very distinctive attack, and
volume controls wouldn't be able to emulate different attacks.

I think the wave-form generators mentioned are well worth looking
into--they're probably just reverse Fourier transforms. It involves a
bit more coding, but you can get a pretty realistic piano sound using
them.

Cordially,

Kerry Thompson

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to