Beggar-my-neighbour generative music

First of all, I need to clarify that this is not AI music. There is a deterministic process that generates music “events”. The process is derived from the mathematical model of the Beggar My Neighbour game (https://en.wikipedia.org/wiki/Beggar-my-neighbour). That's a card game, which is usually played with packs of 52 or 40 cards. The states of the game are represented by the cards owned by the players at each given step of the game, and by the cards that pile up on “the table” — these are cards not yet owned by any player. Cards in the hands of players and on the table are converted into notes and played.

So there is a human decision, which is a pack and a distribution of cards from that pack (a match); and then there's a “mechanical” production of notes corresponding to the states of the match selected by the user. The “composer” listens to the result and changes the pack according to its degree satisfaction. This is possible because changes in the structure of the match result in corresponding “musical changes” in the resulting notes generated by the process. In particular, structural changes affect the duration and the selection of notes. This allows a feedback loop between composer and process to be established. That's why I refer to the overall scheme as hybrid-generative.