the people
This refers to the people of Israel.
gave a blast with the trumpets
"sounded the trumpets loudly" or "blew into the ram's horn trumpets"
Yahweh has given you
Joshua is saying that Yahweh will definitely give them the city by saying that he has already given it to them.