Portable sensors and artificial intelligence are helping researchers decode animal communication—and begin to talk back to nonhumans