How can I change the range of instruments in the standard instrument palette?

If you want to use instruments from the standard instrument palette but give them a different range, try something like the following at the top of your Lisp file:

(set-standard-instrument-slot 'highest-written 'e4 'cello)
(set-standard-instrument-slot 'highest-written 'd5 'double-bass)
(set-standard-instrument-slot 'highest-sounding 'd4 'double-bass)
(set-standard-instrument-slot 'lowest-written 'b1 'double-bass)
(set-standard-instrument-slot 'lowest-sounding 'b0 'double-bass)