Music beat creator in inspector

I have a drum sample which I want to compose to a simple soundtrack. Is there a way to make a custom inspector where I can define the samples per second or per beat? So beat 1: sample, beat 2: empty, beat 3: sample, beat 4: empty.

Yes, see: Unity - Manual: Editor Windows