He solicited donations from companies like Spotify and Soundcloud, and the nonprofit Little Kids Rock, to outfit his class with instruments, music streaming subscriptions, recording and editing software, and other educational resources.