On a fine day, 21-06-2004, dan.antopolski@ wrote: >I am using Virtual Guitarist on Logic Pro. > >One of the parameters of this virtual instrument is called "part" - >there are up to eight variations on the riff, you can move between them >in real time by clicking on the buttons on the instrument interface. > >When I zoom into the track automation for this "part" parameter, the >zoom level isn't high enough to isolate the 0-8 range I need from the >0-127 total, so it's a fiddly business drawing in the points. > >I think it would be easier to control this parameter in real time >through my digital piano - using the lowest eight notes which I don't >really play. > >I believe I need to create a transformer in the environment that would >transform these note events to controller events - or are they "meta" >events? I don't know how the transformer works - could anyone explain >how to create this? I'm not sure why you post this in the OT group instead of the LUG, as it is very much _on_ topic. Oh well, anyway... In the audio mxier, create a Monitor object. Cable from the Virtual Guitarist mixer strip into the Monitor. Press the part-buttons and watch the Monitor. If all is well you should see something like "F 2 xx yy". That's: Fader event on channel 2, the event type is xx and the value is yy. Hopefully you get just _one_ xx value for all buttons with different yy's (probably 0-8). Remember the xx and yy's. Go to the Clicks and Ports layer of the environment and create 2 transformers. Cable from Physical Input SUM outlet into the 1st transformer. Cable the 1st outlet of this transformer into the To Sequencer (sometimes called "to rec & thru") object (this path thus replaces the original PhysIn SUM -> To Sequencer cable). Cable the 2nd outlet of this transformer into the 2nd transformer. Open a 2nd environment window, this time showing the VG mixer strip. Cable the 1st outlet of the 2nd transformer into the mixer strip (click-hold on the transformer outlet in the 1st window and drag until the mixer strip in the 2nd window highlights). You've now created a cross-layer cable. Double click the 1st transformer and set its top popup to "Condition Splitter". Set the Conditions to "Status = Note" and "Pitch Outside aa bb" where aa and bb are the 1st and last note you want to use for switching. This transformer now picks the notes you don't want to use, sends them out the top cable so that they enter the sequencer. The other notes (i.e. the switches) leave the bottom cable and go to the 2nd transformer). Double click the 2nd transformer and its top popup to "Track Automation Splitter". Set the Conditions to "-2- Unequal 0" (filter out note-offs). Set the Operations to "Status Fix Fader", "Cha Fix 2", "-1- Fix xx" where xx is the value you observed earlier, and "-2- Use Map". This is: transformer to Fader Events on channel 2 (VSTi insert slot) with the proper parameter value. In between Conditions and Operations you see 3 vertical black lines: | | |. Click on the last on until it looks like "| | \" so the Conditions -1- parameter is connected to the Operations -2- parameter. Now all you need to do is draw the map at the bottom of the transformer. Suppose the notes you want to use are midi-notes 36-44, and the VG buttons send out values 0-8 (the yy's you noted earlier). Scroll the 1st numerical box at the bottom left of the transformer window to 36, and set the 2nd box to 0. Then increment the 1st box to 37 and set the 2nd box to 1... until you end with the 1st box at 44 and the 2nd box at 8. Done. -- Hendrik Jan Veenstra h @ k n o w a r e . n l Omega Art: http://www.omega-art.com/
Message
Re: [L-OT] Transformers
2004-06-21 by Hendrik Jan Veenstra
Attachments
- No local attachments were found for this message.