The TD-MIDI thing but in Unreal

Not gonna explain the idea of the system since I already did that here, the purpose of this post is to explain how I'm making the same communication line using Unreal.

Since the UDP sensors are not working I'm triggering the events using key press events for now. Since the variable needs to be reduced over time when a new value is introduced I'm using a "Timeline" which allows me to create animated components that can have a value that changes over time.



These values change, over a period of 10 seconds (configurable) and I made two keyframes, at 0 seconds and 10 seconds with values of 2 and 0 respectively, so that the values decrease over time. I then, add the resulting values up so that we have an overarching un-comfortability level that is added through all timelines but reduces by each sensor independently. And use the function "Map Range Clamped" to grab the total level in the variance and transform it to the input value range I need to be sent as a MIDI message.


Finally, and as I mentioned before, I update the values several times each second so that the MIDI messages change the resulting values consistently.





Comments

Popular Posts