Do you know why she is barking? ( is she unhappy? lonely? bored? no walks?)
....don't know zip about Beagles but most dogs bark for a reason, usually because they are alone in the yard too much/ change in family routine or such things. Does she have any amusement while you are gone? (Interactive toys? Dog companion?)
Why not leave her in the house?