Piranha's bark as a warning to each other for frenzies.
Most fish have a lateral line, which detects water pressure, so it acts like an ear.
Predators use it to orient themselves towards prey, and to follow the vortices generated by fleeing prey.
Prey use sound to detect water displacement from incoming predators and for schooling, territorial defence and mating.
The lateral line system and the inner ear of fish are often grouped together as the octavolateralis system (OLS). The former hears bass and the latter hears high frequencies.
Seasonally, many adult fishes produce sound to synchronise gamete release in spawning aggregations or in courtship interactions for mate selection, with many of these calls forming sustained choruses lasting from weeks to months (Amorim et al., 2015).
Teleosts have the capacity for complex acoustic interactions (Mensinger, 2014).
When a threat or possibility of a threat exists, fishes produces sounds as spontaneous outbursts. They also use sound to control shoal grouping.
Fishes may also generate sounds in stressful situations including when they are attacked by predators or handled by fishermen.
About 20% of fish are thought to produce sound.
About 2/3rds of fish sense electricity, teleost species.
https://onlinelibrary.wiley.com/doi/10.1111/jfb.13867
https://en.wikipedia.org/wiki/Lateral_line
https://blog.nature.org/science/2018/04/18/what-does-the-fish-say/
Keywords: Bioacoustics, hydrophone