2 cents from a structural engineer:
Material factors that affect sound are many, but generally, stiffness and weight have the most impact. You may refer to the string equation here.
Then, with wood, we face a very, very complicated composite. Some of the new factors at hand are cell sizes, cell shapes, moisture and resin content.
Cell size and shape gives us different density and different grain patterns.
Density is also ambiguous, as it's used for both hardness and weight, which often but not always go hand in hand!
Grain patterns are a real mess, because long, curly streaks look like they cancel sustain, while more granular grain look solid. While the opposite may be the reality.
Those are a few reasons for stright-grained, stiff and light woods in the neck (sustain, no dead spots). The surface hardness also has impact on this.
When it comes to the body,,,,messy!
Light and hard would be best for snappy highs.
Heavy and soft would be best for punchy lows.
That never works out as it should - which is what keeps luthiers a very special group!
Bolt-on...this inserts a weak joint in the neck, wich reduces stiffness and adds another resonance frequency. Which is good for punch, and to introduce dead spots.
All this from a structural engineering point.
There is more, too...
