Consider using a sampled or synthesized bass, tyros5. It's easier to control the attack and sustain on a sampled/synthesized bass than a real one. If you want a real bass to sustain longer, use new strings, turn it up louder, and hit the strings softer. If that's not enough sustain, try to hit the strings about half-way between the fretted note and the bridge.