Matrix Phone Booth: Immersive Experiences in OpenHome

We are thrilled to spotlight this creative community project from OpenHome community member Tracy Tao!

Red pill or blue pill? Enter the matrix in the comfort of your own home with the Matrix Phone Booth voice experience.

Matrix Phone Booth showcases the immersive and delightful experience made possible through just a voice and sound effects. It’s a dynamic agent tailored to you designed to make you feel like you’re actually in a simulation.

Demo

About the Developer

Tracy Tao studied Computer Science at the University of Southern California. She has a passion for interaction design and loves to make fun personalities on OpenHome.

“It is more of a fun setting for people to examine daily life. Voice applications provide immersive, customized, and more natural way of patting our own desires and needs,” said Tracy.

Design

As you engage with Matrix Phone Booth, you’ll find yourself at the crossroads of Morpheus’s call for liberation and Agent Smith’s appreciation for the system’s inherent value. This duality is not a conflict but a conversation between two sides of the same coin, guiding you to a deeper understanding of your work and your place within the office matrix.

  • Random Mode Activation (Pill Time!): At any moment, the app will switch between Morpheus and Agent Smith, offering you a balanced perspective on your daily endeavors. Whether it’s finding the courage to propose a new idea (Morpheus) or recognizing the importance of a routine task (Agent Smith), you’ll receive the insight needed to navigate your day.
  • Personalized Challenges and Insights: Tailored to your work and aspirations, challenges from Morpheus will push you to break free from convention, while insights from Agent Smith will help you find meaning and satisfaction in the structures around you.
  • Reflection and Action: Beyond guidance, Matrix Phone Booth prompts you to act on the wisdom received, fostering personal growth and a deeper appreciation for your work. Whether it’s tackling a project with newfound passion or optimizing your workflow within the system, you’re empowered to make each day meaningful.

Embrace the journey with Matrix Phone Booth, where every day is an opportunity to explore the boundaries between dreams and reality, freedom and structure, guided by the wisdom of Morpheus and Agent Smith.

The simple code below shows how to make a background music loop to simulate sound effects:

Python
def background_music_loop(music_path, volume=-6):  # Example: reduce volume by 20dB
    global music_playing
    music = AudioSegment.from_mp3(music_path)
    music_with_adjusted_volume = music.apply_gain(volume)  # Adjust volume
    while music_playing:
        play(music_with_adjusted_volume)
        time.sleep(0.1)  # Short sleep to allow interrupt

To make a more tailored and Matrix-specific experience, the following code demonstrates how you can encode certain responses with corresponding voices to specific key words the user says:

Python
 if "get out" in user_message_lower or "out" in user_message_lower or "choice" in user_message_lower:
 response = "Choose the blue pencil, you'll follow the expected academic path. With the red pencil, you dive into a world where learning transcends textbooks. It's about hackathons, projects, and startups—real-world application of knowledge. I'm offering the chance to redefine your education. Your choice."
        voice_ID = 'FMQ6deFZvaq7NpMW2yPQ'
        text_to_speech(response,voice_ID,elapikey)
        continue

Build with OpenHome

OpenHome is an open-source AI smart speaker. From creating novel personalities to building useful capabilities, our voice operating system enables developers to build epic voice-first experiences.

Join the vibrant open-source community today and explore the future of voice AI. Start building everything from custom personalities, to truly intelligent smart home assistants, to voice enabled apps.

Join our Discord!

Apply for a $10,000 grant today!