Complex sentence: Pérez found his behavior nothing out of the ordinary and worked on the song with Vela throughout the night "coming up with drum sounds and programing the pattern for it," finalizing its structure before sunrise.
Split into simpler sentences: Pérez found his behavior nothing out of the ordinary. Pérez and Vela worked on the song throughout the night "coming up with drum sounds and programing the pattern for it" to finalize its structure before sunrise.