First time here? Check out the FAQ!
x

How to send Timeline automation to a Tool?

+1 vote
466 views

My first post here, hi everyone!

I am building a Tool that I control with a Wacom board using !PenX, !PenDown etc. These parameters set control values in the Tool and then the Tool generate and send data (different parameters for example !ToolX and !ToolY) to a Sound using: SignalProcessor postEventValueNamed: eventValueName dspValue: aNumber 

So it is not the parameters from the Wacom board that controls the Sound, altthough the pen parameters are in the Sound, but they do not really do anything there. Instead it is rather the Tool that plays the Sound, something like:

Wacom board -> Tool -> Sound

This part works really well, I can modify sliders in the Tool and VCS in both directions. Now what I would like to do is to record my Pen movements in a Timeline as automations and then modify them and play them back to the Tool. To basically make my composition in the Timeline. Recording them works very well but I cant seem to get them to send the data back to the Tool. I believe that I want to do this:

Wacom board -(rec)-> Timeline

Then:

Timeline- (playback) -> Tool -> Sound.

I would be so grateful for any suggestions, hints or ideas.

All the best,

Mathias

 

 

asked Oct 30, 2016 in Capytalk & Smalltalk by mathias-josefson (170 points)

1 Answer

+1 vote
You may be able to use SoundToGlobalControllers in the Timeline to output the recorded functions for the Wacom EventValues. For example, you could make a STGC that takes !PenX as its Value and generates !MyPenX as its GeneratedValue. Then your Tool could read !MyPenX (and your other generated values).
answered Oct 30, 2016 by ssc (Savant) (128,160 points)
Thank you, that worked perfectly.
...