how to write basslines from scratch