Scotland-based developer Musemantik has developed two pieces of new technology for game developers which purport to "enhance and increase the emotional engagement within new console, PC, smartphone and online titles."

The first, Emrzr (pronounced "Immerser") Sense uses AI to model and infer emotions from the player's actions. Its interpretation of how the player is feeling can then be used to dynamically adapt the gameplay experience, amplifying the player's emotional state. Imagine a game of Left 4 Dead where the AI Director was watching your emotions and toying with you, or a game of Tetris that got increasingly more frenetic the more tense you got -- that's the intention behind Emrzr Sense.

Not only that, though, but the technology can also be used to analyze players' emotional patterns in game to help developers work out which experiences correlate with better success metrics -- free to play game developers, for example, could examine what experiences make players more likely to purchase items via microtransaction and design their games accordingly.

The second piece of tech from the company, known as Emrzr Arrange, is a means of dynamically generating music and integrating it into a game. The music is adaptive and responds to the player's actions. This saves audio programmers from having to create individual scripts and triggers throughout the game to ensure the right piece of music plays at the right time -- the game will take care of that on the fly.

"The videogames market is one of the most rapidly evolving sectors of the global digital media industry," said Maciej Zurawski, founder and managing director of Musemantik. "Games have become far more complex and sophisticated than ever before, yet are often criticized for lacking any emotional depth. With Emrzr Sense and Emrzr Arrange, we have created a solution which gives developers more direct control over the elements of their game."

Sounds like fascinating tech -- ironically enough, though, if it's used effectively, you won't even know it's there.

This article originally appeared on GamePro.com as New Tech Aims to Dynamically Work with Player Emotions