The 2017 Sónar festival in Barcelona, Spain. This year’s gathering was the biggest yet. Credit Stefano Buonamici for The New York Times