Now lets look at Ratites (a group of flightless birds like the Emu and Ostrich) they make similar noises using the same method.
So it’s likely that the non avian dinosaurs would have made similar noises in a similar way.
As an extra treat here’s what we believe Parasaurolophus sounded like.