Triggering/sending midi at the same time as audio

I tried this, but it doesn’t work for me