And you're probably vastly underestimating the complexity and comprehensiveness demanded of such a machine.
My answer doesn't change. Actually, I would go to great lengths to prevent imposing such a fate on humanity.
I may be naive in thinking this but human emotions and euphoria can probably be boiled down to a chemical reaction in our brain such that brain activity of someone experiencing something pleasurable in "real life" and that of someone taking a substance simulating these same feelings would be indistinguishable.
However, I believe there is so much more to existence than our own perception even though I am not spiritual at all.
And what do you care if you live in a different universe? You don't even understand this one well enough to know the difference. So you're basically making this decision on the grounds of your own ignorance.
What if this world is a simulation, and the real world is a wonderful and happy place? You don't know the difference, so what business do you have taking a stand on the issue?
>However, I believe there is so much more to existence than our own perception even though I am not spiritual at all.
You don't know what that word means, then.
What I had originally thought of as an experience machine was drugs that would produce chemically equivalent reactions as those produced from our experiences.
Spiritual usually has an anthropomorphic meaning which is what I object to:
Defined as "of, relating to, or affecting the human spirit or soul as opposed to material or physical things"
Maybe a better way of stating it is that I am not an empiricist that believes that sensory experience is the end-all be-all.
Don't underestimate how easy it is for a human brain to confuse wishful thinking with rational belief. I know what you are talking about -- a sense of objectivity -- but I see no reason to believe it is a valid point of view, rather than a pretense of human desire.
That is as close to that "machine" that we have in reality and its pretty clear people are willing to accept/risk the negative impacts and use such drugs.
This being the case, I'm pretty sure, people would use that machine if it was legal and cheap. Similarly, I'm pretty sure at least some of those people would prefer it to real life.
Similarly, the only reason I prefer "real life" is the relationships I built with people. If I had been given the choice, say, 10+ years ago to have such a machine ... I'd prefer it to RL and the effort it took to build the kind of life I want.
So its a philosophical question with answer of "it depends on the person and RL situation they have".
One could argue that the value you get from your "real life" relationships with people are nothing more than a simple chemical reaction taking place in your brain that could also be simulated.
There's also a whole dog-whistle aspect to the 'war on drugs' (e.g. massive differences in sentences on crack vs. cocaine offences)
Robert Nozick offered this thought experiment to which I would not opt to maximize happiness:
> Nozick asks us to imagine a machine that could give us whatever desirable or pleasurable experiences we could want. Psychologists have figured out a way to stimulate a person's brain to induce pleasurable experiences that the subject could not distinguish from those he would have apart from the machine. He then asks, if given the choice, would we prefer the machine to real life? [0]
[0] https://en.wikipedia.org/wiki/Experience_machine