def set_default_samplerate(samplerate):
    """
    Sets the default samplerate for Brian hears objects, by default 44.1 kHz.
    """
    global default_samplerate
    default_samplerate = samplerate
