Q: do you write the bass part in detail or improvise the line according to the chords
A: a combination of playing it and carefully constructing it during the recording process