LFE06 wrote:Here's a talkback button.
Hope you like it!
Thanks to everyone who contributed to this. It's exactly what I wanted to accomplish for having a talkback function in logic.
anjikyuzan wrote:Hi guys,
-if using keyboard keys since I have not yet found a way to dissociate the note on and off of incoming message just inside logic environment
now press the note and it triggers
That's what I wanted to do - use a note key on a MIDI keyboard to activate the Talkback Mic. I took @LFE06's talkback-B and @anjikyuzan's Voiceover Template files and continued from there. I also changed the inputs slightly to fit my setup with Vocalist mic on Input 1 and Talkback mic on Input 2.
First, I mapped C-1 to trigger the talkback button in the Voiceover Template, but "note off" from the MIDI note didn't turn the talkback button off. Nothing I tried in transformers would filter and change the Note Off event. After some searching and experimenting I figured it out. I used info from this post about environment note off handling to get the idea to set a transformer to condition splitter to split note on and note off.
Second, now that I had the MIDI keypress split into separate "note on" and "note off" paths I focused on each separately. The "Note on" path was easy. I just used what was done in @anjikyuzan's template - a transformer that fixes the velocity to 1 and feeds into the talkback button. But I took it one step further. Instead of setting the talkback button to accept note input, I modified the transformer further to convert the note event to a fader event, and just fed that into the talkback button as is.
Third, I manipulated the "note off" event to turn the talkback button off. This was difficult. And this may be a little different for different people since my note off event had a velocity value of 127, where I think I read that others were seeing a value of 0. (Anyway make adjustment in the "Note to fader 0" transformer for that as needed) The transformers wouldn't recognize or transform the note off in any way until I figured out that I could convert the note off to a note on event. It wasn't intuitive, but it worked. I changed the note off to note on by filtering for Note in a transformer and changing it to... Note. This resulted in a Note on event instead of a Note off event. Then I hooked up one more transformer to finish transforming it to a fader value of 0. I cabled the last transformer into the talkback button and it worked! Key release resulted in turning off the talkback button.
I have attached pictures of the environment in the "note on" state and "note off" states with monitors all over so you can see what's happening. I've also attached my logic file with the environment for download.
Environment Template File: